[Bug 703405] playbin: stream-combiners can't be bins

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 3 08:06:43 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=703405
  GStreamer | gst-plugins-base | git

--- Comment #22 from Brendan Long <self at brendanlong.com> 2013-07-03 15:06:37 UTC ---
(In reply to comment #21)
> I remember that there
> is something in this code that would expose all unlinked pads inside the bin as
> ghostpads on the bin

That happens right after the code you quoted:

    /* find pads and ghost them if necessary */
    if (ghost_unlinked_pads) {
      if ((pad = gst_bin_find_unlinked_pad (bin, GST_PAD_SRC))) {
        gst_element_add_pad (GST_ELEMENT (bin), gst_ghost_pad_new ("src",
pad));
        gst_object_unref (pad);
      }
      if ((pad = gst_bin_find_unlinked_pad (bin, GST_PAD_SINK))) {
        gst_element_add_pad (GST_ELEMENT (bin), gst_ghost_pad_new ("sink",
pad));
        gst_object_unref (pad);
      }
    }

There's one thing that may be different, which is that attributes used to get
set on the bin and now get set on the element:

    (grammar.y, GST_BIN_MAKE)
    /* set the properties now */ \
    for (walk = assign; walk; walk = walk->next) \
      gst_parse_element_set ((gchar *) walk->data, element, graph); \

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