projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace Time::frames with Time::frames_round and Time::frames_floor.
[dcpomatic.git]
/
src
/
lib
/
transcode_job.cc
diff --git
a/src/lib/transcode_job.cc
b/src/lib/transcode_job.cc
index 4a2d768f479c7c67fa600ef46c56954d5a60bae2..122f7f79921545a79522c40bb185f3b6cccf5b1f 100644
(file)
--- a/
src/lib/transcode_job.cc
+++ b/
src/lib/transcode_job.cc
@@
-123,5
+123,5
@@
TranscodeJob::remaining_time () const
}
/* Compute approximate proposed length here, as it's only here that we need it */
}
/* Compute approximate proposed length here, as it's only here that we need it */
- return (_film->length().frames (_film->video_frame_rate ()) - t->video_frames_out()) / fps;
+ return (_film->length().frames
_round
(_film->video_frame_rate ()) - t->video_frames_out()) / fps;
}
}