[vlc-commits] PulseAudio: no need to clear the write callback (not used anymore)

Rémi Denis-Courmont git at videolan.org
Wed Apr 6 22:46:12 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr  6 23:40:18 2011 +0300| [7a86d4e443908c67470fc8337d37e1b1d68fbbff] | committer: Rémi Denis-Courmont

PulseAudio: no need to clear the write callback (not used anymore)

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

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

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 45a06db..c1ba5ea 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -513,7 +513,6 @@ static void Close (vlc_object_t *obj)
     if (s != NULL) {
         pa_operation *op;
 
-        pa_stream_set_write_callback(s, NULL, NULL);
         op = pa_stream_flush(s, NULL, NULL);
         if (op != NULL)
             pa_operation_unref(op);



More information about the vlc-commits mailing list