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

Ian Caulfield ian.caulfield
Fri Apr 23 10:05:03 CEST 2010


On 23 April 2010 05:05, Mark Kendall <mark.kendall at gmail.com> wrote:
> 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).

Would it be more appropriate to fill in the width and height fields of
AVCodecContext?

Ian



More information about the ffmpeg-devel mailing list