• Ronald Bultje's avatar
    [PATCH] zr36067 driver - correct jpeg app/com markers · 236bbb1b
    Ronald Bultje authored
    Attached patch fixes the writing of APP (application-specific) and COM
    (comment) markers in the JPEG stream as generated by the zr36050 or zr36060
    encoders, both part of the zr36067 driver.
    
    During separating those bits out of the main zoran driver, we accidently
    removed the interface through which applications can adapt those markers,
    replacing them by unchangeable (static) markers.  Some video formats,
    particularly Quicktime and AVI, require specific container-specific markers in
    the stream for interlaced streams.  Those markers specify field order and
    such.
    
    The attached patch re-adds this feature so that decoders depending on those
    container-specific markers for correct playback will work correctly.
    Signed-off-by: default avatarRonald S. Bultje <rbultje@ronald.bitfreak.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    236bbb1b
zoran_device.c 44.6 KB