mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
videobox: Fix negotiation for I420/YV12
We don't support conversion into *all* YUV formats for them, only into I420/YV12/AYUV. Fixes bug #622501.
This commit is contained in:
parent
0a2d9a2269
commit
7e0ea232d0
1 changed files with 3 additions and 1 deletions
|
@ -2921,8 +2921,10 @@ gst_video_box_transform_caps (GstBaseTransform * trans,
|
|||
gst_structure_set_value (s2, "depth", &list);
|
||||
gst_structure_set_value (s2, "bpp", &list);
|
||||
g_value_unset (&list);
|
||||
}
|
||||
gst_caps_append_structure (to, s2);
|
||||
} else {
|
||||
gst_structure_free (s2);
|
||||
}
|
||||
}
|
||||
} else if (g_str_equal (name, "video/x-raw-rgb")) {
|
||||
gint bpp;
|
||||
|
|
Loading…
Reference in a new issue