]> git.sesse.net Git - nageru/commitdiff
Make the mixer much less noisy when dealing with frame rate mismatches.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 5 Apr 2017 20:14:24 +0000 (22:14 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 5 Apr 2017 20:15:06 +0000 (22:15 +0200)
mixer.cpp

index 0c00d148144eae9583d65b8e06d32a5fe14f8c71..d805bcc124bfe8bb1e858b17aa1ee9ac0d440114 100644 (file)
--- a/mixer.cpp
+++ b/mixer.cpp
@@ -854,10 +854,12 @@ void Mixer::trim_queue(CaptureCard *card, unsigned card_index)
                ++dropped_frames;
        }
 
+#if 0
        if (dropped_frames > 0) {
                fprintf(stderr, "Card %u dropped %u frame(s) to keep latency down.\n",
                        card_index, dropped_frames);
        }
+#endif
 }