From: Vincent Penquerc'h Date: Mon, 16 Jan 2012 11:40:47 +0000 (+0000) Subject: alsasink: fix rate match message mistaking error code for sample rate X-Git-Tag: RELEASE-0.11.2~2^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=361f2b169cacc92699c8a4acb55e27ef29afc113;p=platform%2Fupstream%2Fgst-plugins-base.git alsasink: fix rate match message mistaking error code for sample rate --- diff --git a/ext/alsa/gstalsasink.c b/ext/alsa/gstalsasink.c index b15ed9a..20de864 100644 --- a/ext/alsa/gstalsasink.c +++ b/ext/alsa/gstalsasink.c @@ -510,7 +510,7 @@ no_rate: rate_match: { GST_ELEMENT_ERROR (alsa, RESOURCE, SETTINGS, (NULL), - ("Rate doesn't match (requested %iHz, get %iHz)", alsa->rate, err)); + ("Rate doesn't match (requested %iHz, get %iHz)", alsa->rate, rrate)); snd_pcm_hw_params_free (params); return -EINVAL; }