Commit 7e0ea232 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

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.
parent 0a2d9a22
......@@ -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);
gst_caps_append_structure (to, s2);
} else if (g_str_equal (name, "video/x-raw-rgb")) {
gint bpp;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment