Ticket #3628: 0001-Set-a-fake-audio-sink-in-the-TagReader-to-avoid-conl.patch

File 0001-Set-a-fake-audio-sink-in-the-TagReader-to-avoid-conl.patch, 981 bytes (added by humitos, 12 years ago)

Patch made by gonzalo

  • jukeboxactivity.py

    From a7767a43d40225922939ed819d5fe6e8dd897402 Mon Sep 17 00:00:00 2001
    From: Gonzalo Odiard <godiard@gmail.com>
    Date: Mon, 4 Jun 2012 17:57:25 -0300
    Subject: [PATCH] Set a fake audio sink in the TagReader to avoid conlict
     using the audio device SL #3628
    
    Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
    ---
     jukeboxactivity.py |    1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/jukeboxactivity.py b/jukeboxactivity.py
    index cc277b7..9d234b1 100644
    a b class TagReader(gobject.GObject): 
    596596        self.pbin = gst.element_factory_make('playbin', 'player')
    597597        fakesink = gst.element_factory_make('fakesink', 'fakesink')
    598598        self.pbin.set_property('video-sink', fakesink)
     599        self.pbin.set_property('audio-sink', fakesink)
    599600        #we need to receive signals from the playbin's bus
    600601        self.bus = self.pbin.get_bus()
    601602        #make sure we are watching the signals on the bus