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): |
596 | 596 | self.pbin = gst.element_factory_make('playbin', 'player') |
597 | 597 | fakesink = gst.element_factory_make('fakesink', 'fakesink') |
598 | 598 | self.pbin.set_property('video-sink', fakesink) |
| 599 | self.pbin.set_property('audio-sink', fakesink) |
599 | 600 | #we need to receive signals from the playbin's bus |
600 | 601 | self.bus = self.pbin.get_bus() |
601 | 602 | #make sure we are watching the signals on the bus |