ffmpegviddec: Add video/x-raw-gray to src pad template

This commit is contained in:
Edward Hervey 2012-04-24 15:36:30 +02:00
parent 8e42e0b6a4
commit 252c5e0a92

View file

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