decklink: Fixed decklinkvideosink auto format detection
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1994>
This commit is contained in:
parent
fba807bead
commit
180ab8377f
@ -666,7 +666,8 @@ gst_decklink_caps_get_pixel_format (GstCaps * caps, BMDPixelFormat * format)
|
|||||||
}
|
}
|
||||||
|
|
||||||
f = vinfo.finfo->format;
|
f = vinfo.finfo->format;
|
||||||
return gst_decklink_type_from_video_format (f);
|
*format = gst_decklink_pixel_format_from_type(gst_decklink_type_from_video_format (f));
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstStructure *
|
static GstStructure *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user