From: Joshua M. Doe Date: Thu, 22 Apr 2010 19:46:17 +0000 (-0400) Subject: videorate: add support for video/x-raw-gray X-Git-Tag: RELEASE-0.10.30~272 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8dfa792bc995a575a6c454af50ffd1d9c45b0d65;p=platform%2Fupstream%2Fgst-plugins-base.git videorate: add support for video/x-raw-gray --- diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index cd72600..7d84837 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -104,14 +104,24 @@ static GstStaticPadTemplate gst_video_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; image/jpeg; image/png") + GST_STATIC_CAPS ( + "video/x-raw-yuv;" + "video/x-raw-rgb;" + "video/x-raw-gray;" + "image/jpeg;" + "image/png") ); static GstStaticPadTemplate gst_video_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; image/jpeg; image/png") + GST_STATIC_CAPS ( + "video/x-raw-yuv;" + "video/x-raw-rgb;" + "video/x-raw-gray;" + "image/jpeg;" + "image/png") ); static void gst_video_rate_swap_prev (GstVideoRate * videorate,