diff options
-rw-r--r-- | gst/inter/gstinteraudiosrc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c index 552339319..896384b47 100644 --- a/gst/inter/gstinteraudiosrc.c +++ b/gst/inter/gstinteraudiosrc.c @@ -316,12 +316,6 @@ gst_inter_audio_src_create (GstBaseSrc * src, guint64 offset, guint size, else n = 0; - while (n > PERIOD * 10) { - GST_WARNING_OBJECT (interaudiosrc, "flushing %d samples", PERIOD / 2); - gst_adapter_flush (interaudiosrc->surface->audio_adapter, - (PERIOD / 2) * bpf); - n -= (PERIOD / 2); - } if (n > PERIOD) n = PERIOD; if (n > 0) { |