diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2014-04-27 09:25:50 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2014-04-27 09:34:39 -0400 |
commit | 4e9036690c7a07753443f69af994920793878a38 (patch) | |
tree | 3195192294284296766d2942fb5505cb5ee3bbed /sys | |
parent | d5a0ace347a5547f0a9816df3630e4fbf81eaa9c (diff) | |
download | gstreamer-plugins-bad-4e9036690c7a07753443f69af994920793878a38.tar.gz |
decklink: Don't fail if HW does not have all interfaces
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/decklink/gstdecklink.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp index 2691c73c8..8a186f286 100644 --- a/sys/decklink/gstdecklink.cpp +++ b/sys/decklink/gstdecklink.cpp @@ -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); |