Commit 5e04fcd2 authored by Wim Taymans's avatar Wim Taymans

audiobasesrc: init variable

We need to initialize this variable because we can't be sure that the subclass
will set it.
parent dc9f19cb
......@@ -815,7 +815,7 @@ gst_audio_base_src_create (GstBaseSrc * bsrc, guint64 offset, guint length,
ptr =;
first = TRUE;
do {
GstClockTime tmp_ts;
GstClockTime tmp_ts = GST_CLOCK_TIME_NONE;
read =
gst_audio_ring_buffer_read (ringbuffer, sample, ptr, samples, &tmp_ts);
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