protected:
AVCodecContext* video_codec_context () const;
AVCodecContext* audio_codec_context () const;
+ AVCodecContext* subtitle_codec_context () const;
boost::shared_ptr<const FFmpegContent> _ffmpeg_content;
a mutex around calls to avcodec_open* and avcodec_close... and here
it is.
*/
- static boost::mutex* _mutex;
+ static boost::mutex _mutex;
private:
void setup_general ();
- void setup_video ();
- void setup_audio ();
+ void setup_decoders ();
};
#endif