mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
audiobasesrc: init variable
We need to initialize this variable because we can't be sure that the subclass will set it.
This commit is contained in:
parent
dc9f19cbba
commit
5e04fcd2ef
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ gst_audio_base_src_create (GstBaseSrc * bsrc, guint64 offset, guint length,
|
||||||
ptr = info.data;
|
ptr = info.data;
|
||||||
first = TRUE;
|
first = TRUE;
|
||||||
do {
|
do {
|
||||||
GstClockTime tmp_ts;
|
GstClockTime tmp_ts = GST_CLOCK_TIME_NONE;
|
||||||
|
|
||||||
read =
|
read =
|
||||||
gst_audio_ring_buffer_read (ringbuffer, sample, ptr, samples, &tmp_ts);
|
gst_audio_ring_buffer_read (ringbuffer, sample, ptr, samples, &tmp_ts);
|
||||||
|
|
Loading…
Reference in a new issue