summaryrefslogtreecommitdiff
path: root/src/lib/dcp_video_frame.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-04 13:41:43 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-04 13:41:43 +0000
commitc366d41af080b9ac37117a9b27a249722c77f74e (patch)
tree29e26d4b0877fd0212c3867eb42c32df47d9bcd3 /src/lib/dcp_video_frame.cc
parent09fcd95ff5125d7238188c59aa40430acb45ecbc (diff)
Skip every other frame with 50fps sources.
Diffstat (limited to 'src/lib/dcp_video_frame.cc')
-rw-r--r--src/lib/dcp_video_frame.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/dcp_video_frame.cc b/src/lib/dcp_video_frame.cc
index 9d6022efa..1dcc81f0d 100644
--- a/src/lib/dcp_video_frame.cc
+++ b/src/lib/dcp_video_frame.cc
@@ -86,8 +86,7 @@ DCPVideoFrame::DCPVideoFrame (
, _subtitle_scale (subtitle_scale)
, _scaler (s)
, _frame (f)
- /* we round here; not sure if this is right */
- , _frames_per_second (rint (fps))
+ , _frames_per_second (dcp_frame_rate(fps).frames_per_second)
, _post_process (pp)
, _colour_lut_index (clut)
, _j2k_bandwidth (bw)