From 579dfce1bae018efd73c9f5f3f31770cb401d19a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 22 Oct 2012 21:04:50 +0100 Subject: Try again to sort out the audio padding / alignment. --- src/lib/ffmpeg_decoder.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/ffmpeg_decoder.h') 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 #include #include +#include extern "C" { #include #include @@ -105,6 +106,6 @@ private: AVPacket _packet; - int64_t _first_video_pts; - int64_t _first_audio_pts; + boost::optional _first_video; + boost::optional _first_audio; }; -- cgit v1.2.3