mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
y4mdec: check for VIDEO meta instead of CROP meta
This element only need stride support, but checks for CROP_META, which is a bit too much, even though this works as CROP imply having VIDEO meta. https://bugzilla.gnome.org/show_bug.cgi?id=726255
This commit is contained in:
parent
e50f264411
commit
68309bd215
1 changed files with 0 additions and 3 deletions
|
@ -228,21 +228,18 @@ init_devices (void)
|
||||||
(void **) &devices[i].input);
|
(void **) &devices[i].input);
|
||||||
if (ret != S_OK) {
|
if (ret != S_OK) {
|
||||||
GST_WARNING ("selected device does not have input interface");
|
GST_WARNING ("selected device does not have input interface");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = decklink->QueryInterface (IID_IDeckLinkOutput,
|
ret = decklink->QueryInterface (IID_IDeckLinkOutput,
|
||||||
(void **) &devices[i].output);
|
(void **) &devices[i].output);
|
||||||
if (ret != S_OK) {
|
if (ret != S_OK) {
|
||||||
GST_WARNING ("selected device does not have output interface");
|
GST_WARNING ("selected device does not have output interface");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = decklink->QueryInterface (IID_IDeckLinkConfiguration,
|
ret = decklink->QueryInterface (IID_IDeckLinkConfiguration,
|
||||||
(void **) &devices[i].config);
|
(void **) &devices[i].config);
|
||||||
if (ret != S_OK) {
|
if (ret != S_OK) {
|
||||||
GST_WARNING ("selected device does not have config interface");
|
GST_WARNING ("selected device does not have config interface");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = iterator->Next (&decklink);
|
ret = iterator->Next (&decklink);
|
||||||
|
|
Loading…
Reference in a new issue