[gstreamer-bugs] [Bug 342432] New: buggy code in help examples /2

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat May 20 09:28:00 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=342432
 GStreamer | documentation | Ver: 0.10.x

           Summary: buggy code in help examples /2
           Product: GStreamer
           Version: 0.10.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: documentation
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: albx79 at iol.it
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


(1) in
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic.html

replace 
  factories = gst_registry_pool_feature_filter (
      (GstPluginFeatureFilter) cb_feature_filter, FALSE, NULL);

with something like
  factories = gst_registry_feature_filter ( gst_registry_get_default(),
      (GstPluginFeatureFilter) cb_feature_filter, FALSE, NULL);

and replace
    gst_bin_add (GST_BIN (pipeline), sinkelement);

with smth like
    gst_bin_add (GST_BIN (gst_pad_get_parent (srcpad)), sinkelement);

(at least, this way it compiles, but segfaults after detecting correct media
type)

thank
alb


-- 
Configure bugmail: http://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