[gstreamer-bugs] [Bug 413418] Make GstAppSrc/GstAppSink better

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Oct 5 10:47:07 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=413418

  GStreamer | gst-plugins-bad | Ver: HEAD CVS

Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com




------- Comment #34 from Wim Taymans  2007-10-05 17:47 UTC -------
I'm thinking of this:
http://api.kde.org/4.0-api/kdelibs-apidocs/phonon/html/classPhonon_1_1AbstractMediaStream.html

Basically you can push as much as you want in it but it's not a very good idea.
Better is to react to the need-data signal and then push stuff in it, this can
be used to implement pull and push based sources. 
There should also be a seek signal emited when the appsrc is configured to be
seekable. 
Alternatively a max queue length could be set but then your push will block
when the queue is full, don't know if that is cool, it depends on the use case. 
You could also set the source to sync, making it a (pseudo) live source. Or
configure it as live and feed it live data. I'll try some of this and post some
patches.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=413418.




More information about the Gstreamer-bugs mailing list