pngenc: Use proper framerate range in caps
authorEdward Hervey <bilboed@bilboed.com>
Fri, 7 May 2010 15:30:30 +0000 (17:30 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 3 Dec 2010 14:06:19 +0000 (15:06 +0100)
ext/libpng/gstpngenc.c

index 2882e5f..a7bfaef 100644 (file)
@@ -60,7 +60,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("image/png, "
         "width = (int) [ 16, 4096 ], "
-        "height = (int) [ 16, 4096 ], " "framerate = (fraction) [ 0, MAX ]")
+        "height = (int) [ 16, 4096 ], " "framerate = " GST_VIDEO_FPS_RANGE)
     );
 
 static GstStaticPadTemplate pngenc_sink_template =