summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Burt <gabriel.burt@gmail.com>2010-01-12 12:23:06 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-12 12:23:06 +0100
commit6d02097924ab857707fc5150ed2857a55dd54020 (patch)
tree76f4f898484f77c2eab33e17257fe785cb83643d
parentb499d3c0b20645321c38faf4802aceec610f00ed (diff)
Fix generation of YUV template caps
Fixes bug #606688.
-rw-r--r--gstreamer-sharp/glue/videoutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gstreamer-sharp/glue/videoutil.c b/gstreamer-sharp/glue/videoutil.c
index f377d76..1b574ea 100644
--- a/gstreamer-sharp/glue/videoutil.c
+++ b/gstreamer-sharp/glue/videoutil.c
@@ -11,7 +11,7 @@ gstsharp_gst_videoutil_get_template_caps (GstVideoFormat fmt) {
return NULL;
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;
} else {
switch (fmt) {