From 252c5e0a922e35f086cbc40ae6a9c9e37d3d1c85 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 24 Apr 2012 15:36:30 +0200 Subject: [PATCH] ffmpegviddec: Add video/x-raw-gray to src pad template --- ext/ffmpeg/gstffmpegviddec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/ffmpeg/gstffmpegviddec.c b/ext/ffmpeg/gstffmpegviddec.c index 57438c0422..7cfe722bb9 100644 --- a/ext/ffmpeg/gstffmpegviddec.c +++ b/ext/ffmpeg/gstffmpegviddec.c @@ -233,7 +233,9 @@ gst_ffmpegviddec_base_init (GstFFMpegVidDecClass * klass) GST_DEBUG ("Couldn't get sink caps for decoder '%s'", in_plugin->name); sinkcaps = gst_caps_from_string ("unknown/unknown"); } - srccaps = gst_caps_from_string ("video/x-raw-rgb; video/x-raw-yuv"); + srccaps = + gst_caps_from_string + ("video/x-raw-rgb; video/x-raw-yuv; video/x-raw-gray"); /* pad templates */ sinktempl = gst_pad_template_new ("sink", GST_PAD_SINK,