diff options
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index a8eabb972..8f0482aad 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -38,6 +38,7 @@ extern "C" { #include "ffmpeg.h" class Film; +class ffmpeg_pts_offset_test; /** @class FFmpegDecoder * @brief A decoder using FFmpeg to decode content. @@ -54,11 +55,14 @@ public: bool done () const; private: + friend class ::ffmpeg_pts_offset_test; /* No copy construction */ FFmpegDecoder (FFmpegDecoder const &); FFmpegDecoder& operator= (FFmpegDecoder const &); + static double compute_pts_offset (double, double, float); + void setup_subtitle (); AVSampleFormat audio_sample_format () const; @@ -79,4 +83,6 @@ private: bool _decode_video; bool _decode_audio; + + double _pts_offset; }; |
