]> git.sesse.net Git - nageru/commitdiff
The card copy does not need to have a copy of the usb member.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 27 Feb 2016 01:11:14 +0000 (02:11 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 27 Feb 2016 01:11:34 +0000 (02:11 +0100)
mixer.cpp

index 878204e4219a1ac6539f2dd7fb3e9d539cf940ca..21c3f696100eec8407bd8b19ff22becdd7be4882 100644 (file)
--- a/mixer.cpp
+++ b/mixer.cpp
@@ -519,7 +519,6 @@ void Mixer::thread_func()
 
                        for (unsigned card_index = 0; card_index < num_cards; ++card_index) {
                                CaptureCard *card = &cards[card_index];
-                               card_copy[card_index].usb = card->usb;
                                card_copy[card_index].new_data_ready = card->new_data_ready;
                                card_copy[card_index].new_frame = card->new_frame;
                                card_copy[card_index].new_frame_length = card->new_frame_length;