[FFmpeg-devel] [RFC] TS/DVB subtitle sub_id hack
Baptiste Coudurier
baptiste.coudurier
Mon Jul 12 08:13:36 CEST 2010
On 7/11/10 7:22 AM, Reimar D?ffinger wrote:
> Hello,
> currently the DVB subtitle handling is a mess that's basically not going
> to work for anyone not using ffmpeg or ffplay binaries, and even violates
> the documentation.
> First, the documentation of the AVCodecContext:sub_id field that is mostly involved
> here:
> * - decoding: Set by libavcodec. (FIXME: Is this OK?)
> */
> int sub_id;
>
I think you missed the part above:
* Some codecs need additional format info. It is stored here.
* If any muxer uses this then ALL demuxers/parsers AND encoders for the
* specific codec MUST set it correctly otherwise stream copy breaks.
It clearly says that demuxers can set this field IMHO.
--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list