pulsesink: Fix a couple error messages that mentioned incorrect function names.

Fixes #589459.
This commit is contained in:
Colin Guthrie 2009-07-22 11:16:06 +01:00 committed by Tim-Philipp Müller
parent aa02444768
commit 4efca7b68e

View file

@ -1716,7 +1716,7 @@ no_buffer:
info_failed: info_failed:
{ {
GST_ELEMENT_ERROR (psink, RESOURCE, FAILED, GST_ELEMENT_ERROR (psink, RESOURCE, FAILED,
("pa_stream_get_sink_input_info() failed: %s", ("pa_context_get_sink_input_info() failed: %s",
pa_strerror (pa_context_errno (pbuf->context))), (NULL)); pa_strerror (pa_context_errno (pbuf->context))), (NULL));
goto unlock; goto unlock;
} }
@ -1789,7 +1789,7 @@ no_buffer:
info_failed: info_failed:
{ {
GST_ELEMENT_ERROR (psink, RESOURCE, FAILED, GST_ELEMENT_ERROR (psink, RESOURCE, FAILED,
("pa_stream_get_sink_info() failed: %s", ("pa_context_get_sink_info_by_index() failed: %s",
pa_strerror (pa_context_errno (pbuf->context))), (NULL)); pa_strerror (pa_context_errno (pbuf->context))), (NULL));
goto unlock; goto unlock;
} }