Commit 155d1b12 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

gst/speexresample/gstspeexresample.c: Only post the latency message if we have...

gst/speexresample/gstspeexresample.c: Only post the latency message if we have a resampler state already.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_update_state):
Only post the latency message if we have a resampler state already.
parent 8edd45db
......@@ -279,7 +279,7 @@ gst_speex_resample_update_state (GstSpeexResample * resample, gint channels,
gboolean updated_latency = FALSE;
updated_latency = (resample->inrate != inrate
|| quality != resample->quality);
|| quality != resample->quality) && resample->state != NULL;
if (resample->state == NULL) {
ret = TRUE;
......
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