[gst-devel] empty buffers & GST_BUFFER_FLAG_GAP
michal.benes at itonis.tv
Wed Jan 18 04:07:23 CET 2006
the blank (or silence) buffers could also serve for the same purpose as
filler events in gst 0.8. This could solve the problem of sparse stream
(e.g. subtitle streams). The problem is that N to 1 elements (like
subtitle overlay or muxer) do not know if they should wait for the next
(subtitle) buffer or if it will never come.
Stefan Kost píše v St 18. 01. 2006 v 12:47 +0100:
> imagine a source that from time to time produces empty buffers (silence
> or bank images). If the pipeline has many elements next, it would be
> cool to optimize the obsolete data procession in this case.
> Examples for such sources are sound-generator (simsyn in gst-buzztard)
> and also a source in voip applications that uses noise-gating (to save
> What I like to do is having a GstBufferFlag that signals that this
> buffer contains blank data. Subsequent elements can use that to spare
> Is that what GST_BUFFER_FLAG_GAP is for? If not, may I also add
> GST_BUFFER_FLAG_BLANK. As part of the proposal I would update GstVolume,
> GstLevel, GstAdder and GstAudioconvert to make use of that.
> What do you think about it?
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
More information about the gstreamer-devel