[Bug 642535] gst_parse_launch fails on pointer parameters

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Feb 17 03:15:27 PST 2011


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-02-17 11:15:25 UTC ---
I don't know how much sense it makes to add that. Are you using
printf/g_strdup_printf or so to create a string with a pointer-string?

I think a better approach would be:

  gst_parse_launch ("... ! yourelement name=foo ! ...", ...)
  myfoo = gst_bin_get_by_name (pipeline, "foo");
  g_object_set (myfoo, "pointer-property", ptr, NULL);

(also, a boxed type property is generally prefered to a pure pointer property).

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