projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a8379
)
Fix transcode finish time estimations when re-encoding a DCP (#1863).
author
Carl Hetherington
<cth@carlh.net>
Sat, 5 Dec 2020 19:24:18 +0000
(20:24 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 5 Dec 2020 19:24:18 +0000
(20:24 +0100)
src/lib/j2k_encoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/j2k_encoder.cc
b/src/lib/j2k_encoder.cc
index 9898ede787bb9b578892451fb00f28cb1f6205bb..796523b38df4e5b714c8789b6d4a442c9c91c9f2 100644
(file)
--- a/
src/lib/j2k_encoder.cc
+++ b/
src/lib/j2k_encoder.cc
@@
-217,6
+217,7
@@
J2KEncoder::encode (shared_ptr<PlayerVideo> pv, DCPTime time)
LOG_DEBUG_ENCODE("Frame @ %1 J2K", to_string(time));
/* This frame already has J2K data, so just write it */
_writer->write (pv->j2k(), position, pv->eyes ());
+ frame_done ();
} else if (_last_player_video[pv->eyes()] && _writer->can_repeat(position) && pv->same (_last_player_video[pv->eyes()])) {
LOG_DEBUG_ENCODE("Frame @ %1 REPEAT", to_string(time));
_writer->repeat (position, pv->eyes ());