diff options
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index abcdfa0b2..58e08a779 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -89,7 +89,11 @@ private: int _video_stream; int _audio_stream; ///< may be < 0 if there is no audio int _subtitle_stream; ///< may be < 0 if there is no subtitle - AVFrame* _frame; + + AVFrame* _video_frame[2]; + int _last_video_frame; + int _this_video_frame; + AVFrame* _audio_frame; std::vector<AudioStream> _audio_streams; std::vector<SubtitleStream> _subtitle_streams; |
