mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
ffmpegviddec: Add video/x-raw-gray to src pad template
This commit is contained in:
parent
8e42e0b6a4
commit
252c5e0a92
1 changed files with 3 additions and 1 deletions
|
@ -233,7 +233,9 @@ gst_ffmpegviddec_base_init (GstFFMpegVidDecClass * klass)
|
||||||
GST_DEBUG ("Couldn't get sink caps for decoder '%s'", in_plugin->name);
|
GST_DEBUG ("Couldn't get sink caps for decoder '%s'", in_plugin->name);
|
||||||
sinkcaps = gst_caps_from_string ("unknown/unknown");
|
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 */
|
/* pad templates */
|
||||||
sinktempl = gst_pad_template_new ("sink", GST_PAD_SINK,
|
sinktempl = gst_pad_template_new ("sink", GST_PAD_SINK,
|
||||||
|
|
Loading…
Reference in a new issue