Fix generation of YUV template caps

Fixes bug #606688.
This commit is contained in:
Gabriel Burt 2010-01-12 12:23:06 +01:00 committed by Sebastian Dröge
parent b499d3c0b2
commit 6d02097924

View file

@ -11,7 +11,7 @@ gstsharp_gst_videoutil_get_template_caps (GstVideoFormat fmt) {
return NULL; return NULL;
caps = gst_caps_from_string (GST_VIDEO_CAPS_YUV ("AYUV")); caps = gst_caps_from_string (GST_VIDEO_CAPS_YUV ("AYUV"));
gst_caps_set_simple (caps, fourcc, GST_TYPE_FOURCC, fourcc, NULL); gst_caps_set_simple (caps, "format", GST_TYPE_FOURCC, fourcc, NULL);
return caps; return caps;
} else { } else {
switch (fmt) { switch (fmt) {