]> git.sesse.net Git - vlc/commit
closed captions: Correctly determine the field for SCTE-20 streams
authorPádraig Brady <P@draigBrady.com>
Fri, 29 Jan 2010 16:18:11 +0000 (16:18 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 30 Jan 2010 13:03:14 +0000 (14:03 +0100)
commit5bd2bacf60872c96d68ee497f8e8eadd057ae421
treeee0350dcf228008b0641250db039a59002c2c3f8
parentff9fe43d8e9e185a1abc598427f5b9629016faa3
closed captions: Correctly determine the field for SCTE-20 streams

* modules/codec/cc.h (cc_Extract): Merge repeated field (3) with first
field (1).  Use the TOP_FIRST_FIELD in the determination of field.
* modules/codec/libmpeg2.c (DecodeBlock): Pass whether "top field first"
* modules/packetizer/mpegvideo.c (ParseMPEGBlock): Likewise.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
modules/codec/cc.h
modules/codec/libmpeg2.c
modules/packetizer/h264.c
modules/packetizer/mpegvideo.c