From f027b95400606cbf0901c0a87121a30e0b207f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 10 Jun 2010 20:36:29 -0400 Subject: [PATCH] videomaxrate: Accept wider caps --- gst/videomaxrate/videomaxrate.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/videomaxrate/videomaxrate.c b/gst/videomaxrate/videomaxrate.c index b7b2c6f1f0..e1f7118d5e 100644 --- a/gst/videomaxrate/videomaxrate.c +++ b/gst/videomaxrate/videomaxrate.c @@ -34,14 +34,16 @@ static GstStaticPadTemplate gst_video_max_rate_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb") + GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; video/x-raw-gray;" + "image/jpeg; image/png") ); static GstStaticPadTemplate gst_video_max_rate_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb") + GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; video/x-raw-gray;" + "image/jpeg; image/png") ); static void gst_video_max_rate_set_property (GObject * object, guint prop_id,