Skip every other frame with 50fps sources.
[dcpomatic.git] / src / lib / dcp_video_frame.cc
index 9d6022efa52ca8cb6866c1538f9b387198d33550..1dcc81f0de980a6954c7add6394e0f4f001be6d2 100644 (file)
@@ -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)