mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
videomaxrate: Accept wider caps
This commit is contained in:
parent
b9601e2096
commit
f027b95400
1 changed files with 4 additions and 2 deletions
|
@ -34,14 +34,16 @@ static GstStaticPadTemplate gst_video_max_rate_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb")
|
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; video/x-raw-gray;"
|
||||||
|
"image/jpeg; image/png")
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_video_max_rate_sink_template =
|
static GstStaticPadTemplate gst_video_max_rate_sink_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-yuv; video/x-raw-rgb")
|
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; video/x-raw-gray;"
|
||||||
|
"image/jpeg; image/png")
|
||||||
);
|
);
|
||||||
|
|
||||||
static void gst_video_max_rate_set_property (GObject * object, guint prop_id,
|
static void gst_video_max_rate_set_property (GObject * object, guint prop_id,
|
||||||
|
|
Loading…
Reference in a new issue