[Bug 753637] New: proposal: merge FsElementAddedNotifier in gstreamer (as GstElementAddedNotifier?)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 14 10:13:07 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753637

            Bug ID: 753637
           Summary: proposal: merge FsElementAddedNotifier in gstreamer
                    (as GstElementAddedNotifier?)
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: george.kiagiadakis at collabora.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 309297
  --> https://bugzilla.gnome.org/attachment.cgi?id=309297&action=edit
base: import GstElementAddedNotifier from farstream (FsElementAddedNotifier)

Farstream includes a class called "FsElementAddedNotifier", which I have found
quite useful in various projects that don't use farstream.
FsElementAddedNotifier basically extends the functionality of GstChildProxy and
emits a signal when an element is added in a bin or any of its child bins,
regardless of the parent-child depth level.

In farstream this is used in combination with fsconference in order to set
encoder properties in the encoders that get autoplugged inside the conference
bin.

Similarly, outside of farstream, I have found this useful in combination with
decodebin/uridecodebin, which are also autoplugging elements. Setting the
properties of those elements can only be done properly with this class.

I think that merging it in GStreamer would be useful. The question would be how
to name it and where to place it. I would propose to just name it
"GstElementAddedNotifier" and place it in gstbase. The attached patch
implements this proposal.

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