pulsesink: Fix a couple error messages that mentioned incorrect function names.
authorColin Guthrie <cguthrie@mandriva.org>
Wed, 22 Jul 2009 10:16:06 +0000 (11:16 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 23 Jul 2009 09:54:45 +0000 (10:54 +0100)
Fixes #589459.

ext/pulse/pulsesink.c

index d80d5cf..fbaac8c 100644 (file)
@@ -1716,7 +1716,7 @@ no_buffer:
 info_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));
     goto unlock;
   }
@@ -1789,7 +1789,7 @@ no_buffer:
 info_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));
     goto unlock;
   }