From 582e18b673f7e7aba2fed0cce323633a40ab5336 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 17 Jun 2011 18:11:38 +0200 Subject: [PATCH] autodetect: fix caps --- gst/autodetect/gstautovideosink.c | 3 +-- gst/autodetect/gstautovideosrc.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gst/autodetect/gstautovideosink.c b/gst/autodetect/gstautovideosink.c index 1087c84..e5cfafe 100644 --- a/gst/autodetect/gstautovideosink.c +++ b/gst/autodetect/gstautovideosink.c @@ -153,8 +153,7 @@ gst_auto_video_sink_reset (GstAutoVideoSink * sink) gst_object_unref (targetpad); } -static GstStaticCaps raw_caps = - GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb"); +static GstStaticCaps raw_caps = GST_STATIC_CAPS ("video/x-raw"); static void gst_auto_video_sink_init (GstAutoVideoSink * sink) diff --git a/gst/autodetect/gstautovideosrc.c b/gst/autodetect/gstautovideosrc.c index c9bc0b5..202e887 100644 --- a/gst/autodetect/gstautovideosrc.c +++ b/gst/autodetect/gstautovideosrc.c @@ -156,8 +156,7 @@ gst_auto_video_src_reset (GstAutoVideoSrc * src) gst_object_unref (targetpad); } -static GstStaticCaps raw_caps = - GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb"); +static GstStaticCaps raw_caps = GST_STATIC_CAPS ("video/x-raw"); static void gst_auto_video_src_init (GstAutoVideoSrc * src) -- 2.7.4