decklink: Don't fail if HW does not have all interfaces
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 27 Apr 2014 13:25:50 +0000 (09:25 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 27 Apr 2014 13:34:39 +0000 (09:34 -0400)
This patch completes 1c1cc73a3b230454663971656515297f9ee8bd9f. These
changes where accidentally pushed as a separate patch with wrong commit
message.

https://bugzilla.gnome.org/show_bug.cgi?id=7273

sys/decklink/gstdecklink.cpp

index 2691c73..8a186f2 100644 (file)
@@ -228,21 +228,18 @@ init_devices (void)
         (void **) &devices[i].input);
     if (ret != S_OK) {
       GST_WARNING ("selected device does not have input interface");
-      return;
     }
 
     ret = decklink->QueryInterface (IID_IDeckLinkOutput,
         (void **) &devices[i].output);
     if (ret != S_OK) {
       GST_WARNING ("selected device does not have output interface");
-      return;
     }
 
     ret = decklink->QueryInterface (IID_IDeckLinkConfiguration,
         (void **) &devices[i].config);
     if (ret != S_OK) {
       GST_WARNING ("selected device does not have config interface");
-      return;
     }
 
     ret = iterator->Next (&decklink);