decodebin2: fix compilation
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 11 May 2012 07:26:47 +0000 (09:26 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 11 May 2012 07:26:47 +0000 (09:26 +0200)
gst/playback/gstdecodebin2.c

index 357a87a..dba75ab 100644 (file)
@@ -1994,7 +1994,7 @@ connect_pad (GstDecodeBin * dbin, GstElement * src, GstDecodePad * dpad,
 
           speed = CLAMP (speed, pspecuint->minimum, pspecuint->maximum);
         } else if (G_PARAM_SPEC_TYPE (pspec) == G_TYPE_PARAM_INT64) {
-          GParamSpecInt64 *pspecint = G_PARAM_SPEC_INT (pspec);
+          GParamSpecInt64 *pspecint = G_PARAM_SPEC_INT64 (pspec);
 
           speed = CLAMP (speed, pspecint->minimum, pspecint->maximum);
         } else {