diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-04-15 14:47:49 +0200 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-05-03 12:03:14 -0400 |
commit | 87cf9421c28a64ff9cf444517fcc7d9e9a42a862 (patch) | |
tree | 0a9a579e0374cf3008333cfaf7057bc2ec39626c /gst | |
parent | d0fdbdf162414c8f78bee66c8591baf4874b5394 (diff) | |
download | gst-plugins-bad-87cf9421c28a64ff9cf444517fcc7d9e9a42a862.tar.gz gst-plugins-bad-87cf9421c28a64ff9cf444517fcc7d9e9a42a862.tar.bz2 gst-plugins-bad-87cf9421c28a64ff9cf444517fcc7d9e9a42a862.zip |
deinterlace2: Add support for YVYU colorspace
This is the same as YUY2 with just Cr and Cb swapped. As
we don't make a difference between them when deinterlacing
this works.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/deinterlace2/gstdeinterlace2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/deinterlace2/gstdeinterlace2.c b/gst/deinterlace2/gstdeinterlace2.c index 3d724d7e..f703bd76 100644 --- a/gst/deinterlace2/gstdeinterlace2.c +++ b/gst/deinterlace2/gstdeinterlace2.c @@ -328,13 +328,15 @@ gst_deinterlace2_field_layout_get_type (void) static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2")) + GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2") ";" + GST_VIDEO_CAPS_YUV ("YVYU")) ); static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2")) + GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2") ";" + GST_VIDEO_CAPS_YUV ("YVYU")) ); static void gst_deinterlace2_finalize (GObject * self); |