diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-22 21:04:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-22 21:04:50 +0100 |
| commit | 579dfce1bae018efd73c9f5f3f31770cb401d19a (patch) | |
| tree | f7bb1b2ad0537515fe3478d9ffe46a081f3b3414 /src/lib/ffmpeg_decoder.h | |
| parent | 71b7808830e17423453502ed5112b70bf90fff1b (diff) | |
Try again to sort out the audio padding / alignment.
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; }; |
