diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-11-29 20:25:37 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-12-12 15:05:50 +0100 |
commit | 0f236345fb4619312281bd2ce736e9327eb9321d (patch) | |
tree | e0465fc531e0b01a3a769081c5c10fa378b5bb11 /ffmpeg.h | |
parent | e69e780cde8d6ab5fc5f3f6eac056793e7988ef4 (diff) | |
download | ffmpeg-0f236345fb4619312281bd2ce736e9327eb9321d.tar.gz |
ffmpeg: sub2video: use start and end time.
Until now, the end_display_time was ignored, making single
packets subtitles (like dvdsub) stay indefinitely.
start_display_time was also ignored, but is it almost always 0.
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -246,6 +246,7 @@ typedef struct InputStream { struct sub2video { int64_t last_pts; + int64_t end_pts; AVFilterBufferRef *ref; int w, h; } sub2video; |