Commit 7278c587 authored by Stefan Kost's avatar Stefan Kost
Browse files

gst/audiotestsrc/gstaudiotestsrc.c: Mark buffers as GAP,if volume is 0.0 and...

gst/audiotestsrc/gstaudiotestsrc.c: Mark buffers as GAP,if volume is 0.0 and fix the previous logic.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
Mark buffers as GAP,if volume is 0.0 and fix the previous logic.
parent 185614e3
2008-02-21 Stefan Kost <ensonic@users.sf.net>
* gst/audiotestsrc/gstaudiotestsrc.c:
Mark buffers as GAP,if volume is 0.0 and fix the previous logic.
2008-02-20 Sebastian Dröge <slomo@circular-chaos.org>
 
* ext/gnomevfs/gstgnomevfssink.c:
......@@ -875,7 +875,8 @@ gst_audio_test_src_create (GstBaseSrc * basesrc, guint64 offset,
src->process (src, GST_BUFFER_DATA (buf));
if (src->wave == G_UNLIKELY (GST_AUDIO_TEST_SRC_WAVE_SILENCE)) {
if (G_UNLIKELY ((src->wave == GST_AUDIO_TEST_SRC_WAVE_SILENCE)
|| (src->volume == 0.0))) {
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_GAP);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment