mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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.
This commit is contained in:
parent
c7cc386eef
commit
db93cd7461
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-11-23 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/speexresample/gstspeexresample.c:
|
||||
(gst_speex_resample_update_state):
|
||||
Only post the latency message if we have a resampler state already.
|
||||
|
||||
2007-11-23 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/speexresample/gstspeexresample.c:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue