[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    [gst-devel] empty buffers & GST_BUFFER_FLAG_GAP
From:       Stefan Kost <ensonic () hora-obscura ! de>
Date:       2006-01-18 11:47:49
Message-ID: 43CE2AE5.7040108 () hora-obscura ! de
[Download RAW message or body]

hi,

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
bandwith).

What I like to do is having a GstBufferFlag that signals that this
buffer contains blank data. Subsequent elements can use that to spare
processing.

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?

Stefan


-------------------------------------------------------
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!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic