projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a3056
)
Further fixes to audio decoder positioning logic.
author
Carl Hetherington
<cth@carlh.net>
Tue, 10 Oct 2017 18:55:46 +0000
(19:55 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 10 Oct 2017 18:55:46 +0000
(19:55 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 496153b0e445d001a416236c0ef57de10d057302..51f6a32c3c81b9a561bdaa05e583614456548397 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-732,7
+732,7
@@
Player::audio (weak_ptr<Piece> wp, AudioStreamPtr stream, ContentAudio content_a
pair<shared_ptr<AudioBuffers>, DCPTime> cut = discard_audio (content_audio.audio, time, piece->content->position());
if (!cut.first) {
/* This audio is entirely discarded */
- return
0
;
+ return
accepted
;
}
content_audio.audio = cut.first;
time = cut.second;