python bindings: fix returning GstRTSPUrl types
authorAlessandro Decina <alessandro.d@gmail.com>
Wed, 20 Apr 2011 08:19:46 +0000 (10:19 +0200)
committerAlessandro Decina <alessandro.d@gmail.com>
Wed, 20 Apr 2011 08:19:46 +0000 (10:19 +0200)
bindings/python/arg-types.py

index 14ab4e3..ec1d749 100644 (file)
@@ -191,7 +191,7 @@ class GstRTSPUrlArg(ArgType):
                        copyval = 'TRUE'
                else:
                        raise RuntimeError, "write_return not implemented for %s" % ptype
-               info.codeafter.append('    return pyg_boxed_new (GST_TYPE_CAPS, ret, '+copyval+', TRUE);')
+               info.codeafter.append('    return pyg_boxed_new (GST_TYPE_RTSP_URL, ret, '+copyval+', TRUE);')
 
 class GstMiniObjectParam(Parameter):