[Bug 642535] New: gst_parse_launch fails on pointer parameters

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 16 22:26:10 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=642535
  GStreamer | gstreamer (core) | 0.10.30

           Summary: gst_parse_launch fails on pointer parameters
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.30
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sig at netdot.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


I've written a gstreamer plugin that takes a gpointer as a construction
parameter (g_param_spec_pointer(...)), however when I pass the address in
either decimal or hex to the parameter using gst_parse_launch, it fails with:

glib.GError: could not set property "pointer-property" in element
"plugin-name0" to "0x3c6a650"

It is calling my set_property function, but still throws an error anyway.
Everything works fine when I install the parameter as g_param_spec_ulong and
cast it to a pointer in set_properties, but it should work with pointer
parameters too (which would also be more 64-bit safe). I think that
parser/grammar.y isn't looking for pointers the way it should be.

-- 
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