mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
decklink: do not repeat first video format in caps template
The first entry in the modes array is used as default mode for autodetection. There's no need to copy it into the caps template.
This commit is contained in:
parent
8305f14ded
commit
6b70b848ee
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ gst_decklink_mode_get_template_caps (void)
|
|||
GstStructure *s;
|
||||
|
||||
caps = gst_caps_new_empty ();
|
||||
for (i = 0; i < (int) G_N_ELEMENTS (modes); i++) {
|
||||
for (i = 1; i < (int) G_N_ELEMENTS (modes); i++) {
|
||||
s = gst_decklink_mode_get_structure ((GstDecklinkModeEnum) i);
|
||||
gst_caps_append_structure (caps, s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue