mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
decklink: Don't fail if HW does not have all interfaces
This patch completes 1c1cc73a3b
. These
changes where accidentally pushed as a separate patch with wrong commit
message.
https://bugzilla.gnome.org/show_bug.cgi?id=7273
This commit is contained in:
parent
d5a0ace347
commit
4e9036690c
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue