pngenc: lower minimum width and height to 1x1

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3003>
This commit is contained in:
Filip Hanes 2022-09-08 17:06:26 +00:00 committed by GStreamer Marge Bot
parent 11e4eb5490
commit 29aec57ef6
2 changed files with 3 additions and 3 deletions

View file

@ -11432,7 +11432,7 @@
"presence": "always"
},
"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",
"presence": "always"
}

View file

@ -61,8 +61,8 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("image/png, "
"width = (int) [ 16, 1000000 ], "
"height = (int) [ 16, 1000000 ], " "framerate = " GST_VIDEO_FPS_RANGE)
"width = (int) [ 1, 1000000 ], "
"height = (int) [ 1, 1000000 ], " "framerate = " GST_VIDEO_FPS_RANGE)
);
static GstStaticPadTemplate pngenc_sink_template =