mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
alsasink: fix rate match message mistaking error code for sample rate
This commit is contained in:
parent
e60027c795
commit
361f2b169c
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ no_rate:
|
||||||
rate_match:
|
rate_match:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (alsa, RESOURCE, SETTINGS, (NULL),
|
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);
|
snd_pcm_hw_params_free (params);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue