python bindings: fix returning GstRTSPUrl types

This commit is contained in:
Alessandro Decina 2011-04-20 10:19:46 +02:00
parent 8ab79b0f4b
commit c5f41da553

View 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):