mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
imagefreeze: Add support for JPEG / PNG
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7660>
This commit is contained in:
parent
2dee333f2e
commit
38392f6049
2 changed files with 6 additions and 4 deletions
|
@ -8055,12 +8055,12 @@
|
|||
"long-name": "Still frame stream generator",
|
||||
"pad-templates": {
|
||||
"sink": {
|
||||
"caps": "video/x-raw(ANY):\n\nvideo/x-bayer(ANY):\n",
|
||||
"caps": "video/x-raw(ANY):\n\nvideo/x-bayer(ANY):\n\nimage/jpeg(ANY):\n\nimage/png(ANY):\n",
|
||||
"direction": "sink",
|
||||
"presence": "always"
|
||||
},
|
||||
"src": {
|
||||
"caps": "video/x-raw(ANY):\n\nvideo/x-bayer(ANY):\n",
|
||||
"caps": "video/x-raw(ANY):\n\nvideo/x-bayer(ANY):\n\nimage/jpeg(ANY):\n\nimage/png(ANY):\n",
|
||||
"direction": "src",
|
||||
"presence": "always"
|
||||
}
|
||||
|
|
|
@ -89,11 +89,13 @@ static gboolean gst_image_freeze_src_query (GstPad * pad, GstObject * parent,
|
|||
static GstStaticPadTemplate sink_pad_template = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-raw(ANY); video/x-bayer(ANY)"));
|
||||
GST_STATIC_CAPS
|
||||
("video/x-raw(ANY); video/x-bayer(ANY); image/jpeg(ANY); image/png(ANY)"));
|
||||
|
||||
static GstStaticPadTemplate src_pad_template =
|
||||
GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-raw(ANY); video/x-bayer(ANY)"));
|
||||
GST_STATIC_CAPS
|
||||
("video/x-raw(ANY); video/x-bayer(ANY); image/jpeg(ANY); image/png(ANY)"));
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_image_freeze_debug);
|
||||
#define GST_CAT_DEFAULT gst_image_freeze_debug
|
||||
|
|
Loading…
Reference in a new issue