mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -666,7 +666,8 @@ gst_decklink_caps_get_pixel_format (GstCaps * caps, BMDPixelFormat * 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 *
|
||||
|
|
Loading…
Reference in a new issue