alsasink: fix rate match message mistaking error code for sample rate
This commit is contained in:
parent
e60027c795
commit
361f2b169c
@ -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…
x
Reference in New Issue
Block a user