From 361f2b169cacc92699c8a4acb55e27ef29afc113 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Mon, 16 Jan 2012 11:40:47 +0000 Subject: [PATCH] alsasink: fix rate match message mistaking error code for sample rate --- ext/alsa/gstalsasink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/alsa/gstalsasink.c b/ext/alsa/gstalsasink.c index b15ed9af4e..20de864e43 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; }