mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
gldownload: allow video/x-raw as input
...and just passthrough. This is useful for pipelines where downstream must be non-GL but upstream can optionally be GL.
This commit is contained in:
parent
de5f87e72b
commit
2f8f4a5b90
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@ static GstStaticPadTemplate gst_gl_download_element_src_pad_template =
|
||||||
GST_STATIC_CAPS ("video/x-raw; video/x-raw(memory:GLMemory)"));
|
GST_STATIC_CAPS ("video/x-raw; video/x-raw(memory:GLMemory)"));
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_gl_download_element_sink_pad_template =
|
static GstStaticPadTemplate gst_gl_download_element_sink_pad_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("video/x-raw(memory:GLMemory)"));
|
GST_STATIC_CAPS ("video/x-raw(memory:GLMemory); video/x-raw"));
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_gl_download_element_class_init (GstGLDownloadElementClass * klass)
|
gst_gl_download_element_class_init (GstGLDownloadElementClass * klass)
|
||||||
|
|
Loading…
Reference in a new issue