From: Filip Hanes Date: Thu, 8 Sep 2022 17:06:26 +0000 (+0000) Subject: pngenc: lower minimum width and height to 1x1 X-Git-Tag: 1.22.0~987 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29aec57ef61a52c6a70c94e60aef7048529a2f6d;p=platform%2Fupstream%2Fgstreamer.git pngenc: lower minimum width and height to 1x1 Part-of: --- diff --git a/subprojects/gst-plugins-good/docs/gst_plugins_cache.json b/subprojects/gst-plugins-good/docs/gst_plugins_cache.json index cead12b..80b8db2 100644 --- a/subprojects/gst-plugins-good/docs/gst_plugins_cache.json +++ b/subprojects/gst-plugins-good/docs/gst_plugins_cache.json @@ -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" } diff --git a/subprojects/gst-plugins-good/ext/libpng/gstpngenc.c b/subprojects/gst-plugins-good/ext/libpng/gstpngenc.c index 25f3714..f807e4c 100644 --- a/subprojects/gst-plugins-good/ext/libpng/gstpngenc.c +++ b/subprojects/gst-plugins-good/ext/libpng/gstpngenc.c @@ -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 =