aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ffmenc.c
diff options
context:
space:
mode:
authorSerhii Marchuk <serhii.marchuk@gmail.com>2014-01-11 22:54:29 +0200
committerClément Bœsch <u@pkh.me>2014-01-12 16:40:52 +0100
commitc917cde9cc52ad1ca89926a617f847bc9861d5a0 (patch)
treedff0a5303aed94b52465c42fab9d645a78ab625e /libavformat/ffmenc.c
parentd497141b859488225a5869cee66ca91675cd07d9 (diff)
downloadffmpeg-c917cde9cc52ad1ca89926a617f847bc9861d5a0.tar.gz
mpegts muxer, DVB subtitles encoder: common DVB subtitles payload
Improved DVB subtitles encoder to generate AVPacket.data in the same format as generates MPEGTS demuxer + DVB subtitles parser. So now single format of DVB subtitles data is used across all the components of FFmpeg: only subtitles payload WITHOUT 0x20 0x00 bytes at the beginning and 0xFF trailing byte. Improved MPEGTS muxer to support format of DVB subtitles in AVPacket.data described above: while muxing we add two bytes 0x20 0x00 to the beginning of and 0xFF to the end of DVB subtitles payload. The patch fixes DVB subtitle copy problems: tickets #2989 fully and #2024 partly. Signed-off-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavformat/ffmenc.c')
0 files changed, 0 insertions, 0 deletions