projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5c4e5
)
Fix typo preventing audio sync fixes when audio follows video.
author
Carl Hetherington
<cth@carlh.net>
Tue, 7 May 2013 08:48:47 +0000
(09:48 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 7 May 2013 08:48:47 +0000
(09:48 +0100)
src/lib/matcher.cc
patch
|
blob
|
history
diff --git
a/src/lib/matcher.cc
b/src/lib/matcher.cc
index 9924c003ae5b81298ef27653e5ba015d7d312307..2723f2a2d360c71807795e1e83b33ba840e6a131 100644
(file)
--- a/
src/lib/matcher.cc
+++ b/
src/lib/matcher.cc
@@
-110,7
+110,7
@@
Matcher::process_audio (boost::shared_ptr<const AudioBuffers> b, double t)
if (!_had_first_video) {
/* No video yet; we must postpone these data until we have some */
_pending_audio.push_back (AudioRecord (b, t));
- } else if (this_is_first_audio &&
!
_had_first_video) {
+ } else if (this_is_first_audio && _had_first_video) {
/* First audio since we got video */
_pending_audio.push_back (AudioRecord (b, t));
fix_start (_first_input.get ());