mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
imagefreeze: add bayer support
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3807>
This commit is contained in:
parent
beb4f4bff1
commit
5e9a32ed8c
2 changed files with 5 additions and 5 deletions
|
@ -7789,12 +7789,12 @@
|
||||||
"long-name": "Still frame stream generator",
|
"long-name": "Still frame stream generator",
|
||||||
"pad-templates": {
|
"pad-templates": {
|
||||||
"sink": {
|
"sink": {
|
||||||
"caps": "video/x-raw(ANY):\n",
|
"caps": "video/x-raw(ANY):\n\nvideo/x-bayer(ANY):\n",
|
||||||
"direction": "sink",
|
"direction": "sink",
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
},
|
},
|
||||||
"src": {
|
"src": {
|
||||||
"caps": "video/x-raw(ANY):\n",
|
"caps": "video/x-raw(ANY):\n\nvideo/x-bayer(ANY):\n",
|
||||||
"direction": "src",
|
"direction": "src",
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,11 +89,11 @@ static gboolean gst_image_freeze_src_query (GstPad * pad, GstObject * parent,
|
||||||
static GstStaticPadTemplate sink_pad_template = GST_STATIC_PAD_TEMPLATE ("sink",
|
static GstStaticPadTemplate sink_pad_template = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("video/x-raw(ANY)"));
|
GST_STATIC_CAPS ("video/x-raw(ANY); video/x-bayer(ANY)"));
|
||||||
|
|
||||||
static GstStaticPadTemplate src_pad_template =
|
static GstStaticPadTemplate src_pad_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
|
GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("video/x-raw(ANY)"));
|
GST_STATIC_CAPS ("video/x-raw(ANY); video/x-bayer(ANY)"));
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (gst_image_freeze_debug);
|
GST_DEBUG_CATEGORY_STATIC (gst_image_freeze_debug);
|
||||||
#define GST_CAT_DEFAULT gst_image_freeze_debug
|
#define GST_CAT_DEFAULT gst_image_freeze_debug
|
||||||
|
|
Loading…
Reference in a new issue