Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-03-20 19:16:16 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-03-20 19:16:16 (GMT)
commit217353beafb61313fb322832d3f42958d0b545f0 (patch)
treea850694568ec05a895c37e32942e082926dff444
parent6effc79794e4d6aa3c43d81f53f9520a5a6ae29f (diff)
Do not show video in the playbin used to do the tag read
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r--jukeboxactivity.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jukeboxactivity.py b/jukeboxactivity.py
index 13e7143..3e609de 100644
--- a/jukeboxactivity.py
+++ b/jukeboxactivity.py
@@ -574,7 +574,9 @@ class TagReader(gobject.GObject):
def __init__(self):
gobject.GObject.__init__(self)
#make a playbin to parse the audio file
- self.pbin = gst.element_factory_make('playbin')
+ self.pbin = gst.element_factory_make('playbin', 'player')
+ fakesink = gst.element_factory_make('fakesink', 'fakesink')
+ self.pbin.set_property('video-sink', fakesink)
#we need to receive signals from the playbin's bus
self.bus = self.pbin.get_bus()
#make sure we are watching the signals on the bus