~ubuntu-branches/ubuntu/oneiric/gst0.10-python/oneiric

« back to all changes in this revision

Viewing changes to gst/arg-types.py

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2011-01-10 17:35:49 UTC
  • mto: (18.1.4 experimental) (1.3.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20110110173549-doc737t3up9lpz76
Tags: upstream-0.10.20.2
Import upstream version 0.10.20.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
                        copyval = 'TRUE'
139
139
                else:
140
140
                        raise RuntimeError, "write_return not implemented for %s" % ptype
141
 
                info.codeafter.append('    return pyg_boxed_new (GST_TYPE_CAPS, ret, '+copyval+', TRUE);')
 
141
                info.codeafter.append('    return pyg_boxed_new (GST_TYPE_CAPS, (GstCaps*) ret, '+copyval+', TRUE);')
142
142
 
143
143
class GstIteratorArg(ArgType):
144
144
        def write_return(self, ptype, ownsreturn, info):