summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-08 16:22:44 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-08 16:22:44 +0100
commit76740ecc18a5e896c7d05f3d71f865105c3248c7 (patch)
tree6a1a9f3717ee9f08317ef2d55708731f03cd12f9 /src/lib/ffmpeg_decoder.h
parent04dbff6ab81741748d81721656e565788c4afc6b (diff)
Obey subtitle timing.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
-rw-r--r--src/lib/ffmpeg_decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h
index 9b57b5589..739502d50 100644
--- a/src/lib/ffmpeg_decoder.h
+++ b/src/lib/ffmpeg_decoder.h
@@ -78,6 +78,8 @@ private:
void setup_audio ();
void setup_subtitle ();
+ void maybe_add_subtitle ();
+
AVFormatContext* _format_context;
int _video_stream;
int _audio_stream; ///< may be < 0 if there is no audio