aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2012-06-24 15:05:33 -0700
committerPhilip Langdale <philipl@overt.org>2012-08-04 12:01:24 -0700
commit18175ca9b2d9dc3b66e63b3cc461dfde788943a0 (patch)
tree544a825f68e5fa60e27a967d2a95999dd8f79e9d /libavformat/mpegenc.c
parent2daaf77698c9adc9b390e94b755d743c135a469f (diff)
downloadffmpeg-18175ca9b2d9dc3b66e63b3cc461dfde788943a0.tar.gz
movenc: Handle need for extra packets to express subtitle duration.
As packet duration is not stored inherently in MPEG4 containers, subtitles have their duration expressed by storing an additional empty packet with a pts matching the desired end time of the real subtitle. Additionally, it is generally expected that all streams start at time = 0, so an empty packet needs to be inserted at the beginning of the stream, before the first real subtitle. Unfortunately, ffmpeg lacks a proper way to express that a subtitle might map to multiple packets, so the muxer is the only place we can handle this. Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavformat/mpegenc.c')
0 files changed, 0 insertions, 0 deletions