diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-16 15:52:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-16 15:52:32 +0100 |
| commit | 6e52f83418c64d5cbd0e613a5fc96ea32881d4d9 (patch) | |
| tree | 722da0c3f985bb0e0d38077ca4992e4580546356 /src/lib/ffmpeg_decoder.h | |
| parent | 739a52b20895622a1caf48d3597ae49e6ec0aeeb (diff) | |
Fix subtitle controls in the viewer.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 3 |
1 files changed, 1 insertions, 2 deletions
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<const Film>, boost::shared_ptr<const FFmpegContent>, bool video, bool audio, bool subtitles); + FFmpegDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const FFmpegContent>, 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 |
