class FFmpeg
{
public:
- FFmpeg (boost::shared_ptr<const FFmpegContent>, bool);
+ FFmpeg (boost::shared_ptr<const FFmpegContent>);
virtual ~FFmpeg ();
boost::shared_ptr<const FFmpegContent> ffmpeg_content () const {
int avio_read (uint8_t *, int);
int64_t avio_seek (int64_t, int);
- int64_t avio_length ();
protected:
AVCodecContext* video_codec_context () const;
AVFormatContext* _format_context;
AVPacket _packet;
AVFrame* _frame;
-
+
+ /** Index of video stream within AVFormatContext */
int _video_stream;
/* It would appear (though not completely verified) that one must have
static boost::mutex _mutex;
private:
- void setup_general (bool);
+ void setup_general ();
void setup_video ();
void setup_audio ();
};