[Bug 681681] New: childproxy: make gst_child_proxy_lookup() take a GstChildProxy instead of GObject ?

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Aug 12 05:26:44 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=681681
  GStreamer | gstreamer (core) | 0.11.x

           Summary: childproxy: make gst_child_proxy_lookup() take a
                    GstChildProxy instead of GObject ?
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I think gst_child_proxy_lookup() should either be made a GstChildProxy method,
and take a GstChildProxy as first argument, or be renamed. Or both, with a
utility function somewhere that does if IS_CHILD_PROXY else gobject code
fallback.

Reason is that the way it's currently done is weird and breaks stuff for
bindings, you can't do childproxy.lookup('foo') but have to do
childproxy.lookup(childproxy, 'foo').

It should probably be renamed in any case because "lookup" is a bit too generic
a method name really, IMHO.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list