/* Now adjust so that the video pts starts on a frame */
if (first_video) {
- po += first_video.get().round_up (video_frame_rate) - first_video.get();
+ ContentTime const fvc = first_video.get() + po;
+ po += fvc.round_up (video_frame_rate) - fvc;
}
return po;