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:
Sebastian Dröge 2010-06-23 20:29:14 +02:00
parent 0a2d9a2269
commit 7e0ea232d0

View file

@ -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;