From 6e52f83418c64d5cbd0e613a5fc96ea32881d4d9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 16 Jun 2013 15:52:32 +0100 Subject: Fix subtitle controls in the viewer. --- src/lib/ffmpeg_decoder.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/ffmpeg_decoder.h') diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 2d295db7b..3cfb54e09 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -59,7 +59,7 @@ class Film; class FFmpegDecoder : public VideoDecoder, public AudioDecoder { public: - FFmpegDecoder (boost::shared_ptr, boost::shared_ptr, bool video, bool audio, bool subtitles); + FFmpegDecoder (boost::shared_ptr, boost::shared_ptr, bool video, bool audio); ~FFmpegDecoder (); /* Decoder */ @@ -139,7 +139,6 @@ private: bool _decode_video; bool _decode_audio; - bool _decode_subtitles; /* It would appear (though not completely verified) that one must have a mutex around calls to avcodec_open* and avcodec_close... and here -- cgit v1.2.3