pngenc: lower minimum width and height to 1x1
authorFilip Hanes <filip@hanes.tech>
Thu, 8 Sep 2022 17:06:26 +0000 (17:06 +0000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 9 Sep 2022 09:59:56 +0000 (09:59 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3003>

subprojects/gst-plugins-good/docs/gst_plugins_cache.json
subprojects/gst-plugins-good/ext/libpng/gstpngenc.c

index cead12b..80b8db2 100644 (file)
                         "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"
                     }
index 25f3714..f807e4c 100644 (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 =