Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-11-29 23:25:37 +0400
committerNicolas George <nicolas.george@normalesup.org>2012-12-12 18:05:50 +0400
commit0f236345fb4619312281bd2ce736e9327eb9321d (patch)
treee0465fc531e0b01a3a769081c5c10fa378b5bb11 /ffmpeg.h
parente69e780cde8d6ab5fc5f3f6eac056793e7988ef4 (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index d260222c55..afef6fb98b 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -246,6 +246,7 @@ typedef struct InputStream {
struct sub2video {
int64_t last_pts;
+ int64_t end_pts;
AVFilterBufferRef *ref;
int w, h;
} sub2video;