[FFmpeg-devel] [PATCH] Add support for parsing the Display Definition Segment in dvbsubdec.c

Mark Kendall mark.kendall
Fri Apr 23 06:05:02 CEST 2010


The attached patch parses the Display Definition Segment in DVB
subtitle packets (see EN 300 743 V1.3.1).

The Display Definition Segment explicitly indicates to the decoder the
display size for which the subtitles were generated, allowing standard
definition subtitles to be displayed on high definition streams.

This extends AVSubtitleRect to hold the new display information and,
if a Display Definition Segment is not seen, defaults to 720x576 (per
the standard).

regards

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hd_dvb_subtitles.diff
Type: text/x-diff
Size: 5315 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100423/1fe7f78f/attachment.diff>



More information about the ffmpeg-devel mailing list