[Bug 678306] New: [decodebin2] improve element instance handling

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 18 03:49:26 PDT 2012


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

           Summary: [decodebin2] improve element instance handling
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mnauw at users.sourceforge.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


decodebin2 behaviour upon a "channel switch" (like switching in a chained ogg)
is currently as follows:
* new pads are added, for which new chains with new element (codec) instances
are created
* old pads are eos-ed and removed, upon which the old chains are 'hidden'. 
This only entails a partial cleanup, and in particular the old element
instances are kept around even in PLAYING state.

At least 2 improvements/fixes seem to apply here:
* arrange for the old element instances to be taken down to e.g. READY
* put the old elements in some cached-element list so they can be re-used next
time some such element is needed in a chain (like for example a subsequent
channel switch).

[note that keeping the old ones around in READY allows to re-use some global
setup performed when going to READY]

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