After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732616 - Specify, design and implement a base class for demuxers
Specify, design and implement a base class for demuxers
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-02 11:33 UTC by Mathieu Duponchelle
Modified: 2018-11-03 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathieu Duponchelle 2014-07-02 11:33:59 UTC
I open that bug report so we can gather requirements and design ideas for a base demuxer class, hopefully it will end up RESOLVED FIXED :)

I don't have many ideas, only two requirements that I will detail in the following comment.
Comment 1 Mathieu Duponchelle 2014-07-02 11:37:10 UTC
My personal requirements:

The base class should abstract away push and pull logic, according to Sebastian baseparse already does that so we should have a look at that.

The base class should make it so seeking on READY is handled, possibly by exposing a virtual method that will let the subclasses gather the data they require before actually demuxing "payload units" (frames, samples, whatever) before actually making the initial seek.
Comment 2 Sebastian Dröge (slomo) 2014-07-02 11:39:58 UTC
Basic idea would be to have something like baseparse for the input side, then a data structure for keeping track of the different streams (that can be extended by the subclass to store extra data) and then a thread per srcpad from which the data is pushed downstream.

As a side effect this would make multiqueue obsolete for most cases and would allow demuxers to do ALLOCATION queries on their srcpads.


For seeking in READY, that could be handled similar to basesrc probably.
Comment 3 GStreamer system administrator 2018-11-03 12:20:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/60.