projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc2b76a
)
Ignore video/audio when it is referenced; should help with #1191.
author
Carl Hetherington
<cth@carlh.net>
Tue, 6 Feb 2018 01:57:28 +0000
(
01:57
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 6 Feb 2018 01:57:28 +0000
(
01:57
+0000)
src/lib/dcp_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp_decoder.cc
b/src/lib/dcp_decoder.cc
index 68aa214ab859e10411af98475a800b2827576ead..3379f8e90e427bf469cacb939608332cf7fc148c 100644
(file)
--- a/
src/lib/dcp_decoder.cc
+++ b/
src/lib/dcp_decoder.cc
@@
-77,6
+77,15
@@
DCPDecoder::DCPDecoder (shared_ptr<const DCPContent> c, shared_ptr<Log> log, boo
cpl = cpls().front ();
}
+ if (!_decode_referenced) {
+ if (c->reference_video()) {
+ video->set_ignore();
+ }
+ if (c->reference_audio()) {
+ audio->set_ignore();
+ }
+ }
+
_reels = cpl->reels ();
_reel = _reels.begin ();