[vlc-commits] PulseAudio: use existing helper

Rémi Denis-Courmont git at videolan.org
Tue Apr 12 19:05:05 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr 12 20:00:36 2011 +0300| [0462f44e2a133be0b07f365570b91c5f3cd4c38e] | committer: Rémi Denis-Courmont

PulseAudio: use existing helper

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0462f44e2a133be0b07f365570b91c5f3cd4c38e
---

 modules/audio_output/pulse.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 25907d3..bad3e1d 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -281,9 +281,8 @@ static void Play(aout_instance_t *aout)
 
         if (pa_stream_write(s, ptr, len, data_free, 0, PA_SEEK_RELATIVE) < 0)
         {
+            error(aout, "cannot write", sys->context);
             block_Release(block);
-            msg_Err(aout, "cannot write: %s",
-                    pa_strerror(pa_context_errno(sys->context)));
         }
     }
 



More information about the vlc-commits mailing list