diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-12-20 16:41:48 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-12-20 16:47:56 +0100 |
commit | 5e04fcd2efa9bca59a48470ba29cf54cdff58f74 (patch) | |
tree | 6f35edcc8ca7bfedef8deb49a6039f98f6de8a8a | |
parent | dc9f19cbba2310c6c48091af6c3916335a900a8e (diff) |
audiobasesrc: init variable
We need to initialize this variable because we can't be sure that the subclass
will set it.
-rw-r--r-- | gst-libs/gst/audio/gstaudiobasesrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/audio/gstaudiobasesrc.c b/gst-libs/gst/audio/gstaudiobasesrc.c index 820e0f9c0..66bade45f 100644 --- a/gst-libs/gst/audio/gstaudiobasesrc.c +++ b/gst-libs/gst/audio/gstaudiobasesrc.c @@ -815,7 +815,7 @@ gst_audio_base_src_create (GstBaseSrc * bsrc, guint64 offset, guint length, ptr = info.data; 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); |