diff options
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index ac4cd6fcf..29e06c7d4 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -25,6 +25,7 @@ #include <string> #include <stdint.h> #include <boost/shared_ptr.hpp> +#include <boost/optional.hpp> extern "C" { #include <libavcodec/avcodec.h> #include <libpostproc/postprocess.h> @@ -105,6 +106,6 @@ private: AVPacket _packet; - int64_t _first_video_pts; - int64_t _first_audio_pts; + boost::optional<double> _first_video; + boost::optional<double> _first_audio; }; |
