summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-26 16:35:43 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-26 16:35:43 +0100
commitd39bfb9a1360a83f3451b79d01fdc4f465ef21d3 (patch)
tree64ea69741155d15d114ad96daf0f90e24b3abe28 /src/lib/video_decoder.cc
parent7cd29c67a1977d67fc63f58c1d29826d7993a750 (diff)
Improve FFmpeg sync, in theory.
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc
index b5cc7d158..f61e63d4d 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -30,7 +30,7 @@ using boost::shared_ptr;
VideoDecoder::VideoDecoder (shared_ptr<const Film> f)
: Decoder (f)
- , _next_video_frame (0)
+ , _video_position (0)
{
}
@@ -39,7 +39,7 @@ void
VideoDecoder::video (shared_ptr<const Image> image, bool same, VideoContent::Frame frame)
{
Video (image, same, frame);
- _next_video_frame = frame + 1;
+ _video_position = frame + 1;
}
#if 0