mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-05 14:02:26 +00:00
v4l2vidoedec: Fix caps negotiation in non-DRM case
Append acquired_caps to the filter_caps being built, instead of a 2nd copy of acquired_drm_caps. Fix a regression introduced in https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7633 when downstream doesn't support DRM output. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8385>
This commit is contained in:
parent
a88eda66d2
commit
31a3172bfe
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ gst_v4l2_video_dec_negotiate (GstVideoDecoder * decoder)
|
|||
acquired_caps = gst_video_info_to_caps (&info.vinfo);
|
||||
if (acquired_caps) {
|
||||
GST_DEBUG_OBJECT (self, "Acquired caps: %" GST_PTR_FORMAT, acquired_caps);
|
||||
gst_caps_append (fixation_caps, gst_caps_copy (acquired_drm_caps));
|
||||
gst_caps_append (fixation_caps, gst_caps_copy (acquired_caps));
|
||||
}
|
||||
|
||||
for (i = 0; i < gst_caps_get_size (fixation_caps); i++) {
|
||||
|
|
Loading…
Reference in a new issue