mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
pngenc: lower minimum width and height to 1x1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3003>
This commit is contained in:
parent
11e4eb5490
commit
29aec57ef6
2 changed files with 3 additions and 3 deletions
|
@ -11432,7 +11432,7 @@
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
},
|
},
|
||||||
"src": {
|
"src": {
|
||||||
"caps": "image/png:\n width: [ 16, 1000000 ]\n height: [ 16, 1000000 ]\n framerate: [ 0/1, 2147483647/1 ]\n",
|
"caps": "image/png:\n width: [ 1, 1000000 ]\n height: [ 1, 1000000 ]\n framerate: [ 0/1, 2147483647/1 ]\n",
|
||||||
"direction": "src",
|
"direction": "src",
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,8 +61,8 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("image/png, "
|
GST_STATIC_CAPS ("image/png, "
|
||||||
"width = (int) [ 16, 1000000 ], "
|
"width = (int) [ 1, 1000000 ], "
|
||||||
"height = (int) [ 16, 1000000 ], " "framerate = " GST_VIDEO_FPS_RANGE)
|
"height = (int) [ 1, 1000000 ], " "framerate = " GST_VIDEO_FPS_RANGE)
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate pngenc_sink_template =
|
static GstStaticPadTemplate pngenc_sink_template =
|
||||||
|
|
Loading…
Reference in a new issue