autodetect: fix caps

This commit is contained in:
Wim Taymans 2011-06-17 18:11:38 +02:00
parent 1a3401f1be
commit 582e18b673
2 changed files with 2 additions and 4 deletions

View file

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

View file

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