mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +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:
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue