summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-13 14:51:39 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commit22b13599407e45d85d1c83e0805aa14965b0ab19 (patch)
tree38aa5015affeca6ad390a7951c8ebf24d64f4d05 /src/lib/video_decoder.cc
parenta78b741c43830c84bcb4d18e3147746f13a668e5 (diff)
Post-merge tidy-up.
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc
index 6ec479ad2..8f711e367 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -94,4 +94,6 @@ VideoDecoder::emit (shared_ptr<const ImageProxy> image, Frame frame)
default:
DCPOMATIC_ASSERT (false);
}
+
+ _position = ContentTime::from_frames (frame, _content->active_video_frame_rate ());
}