diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-03-20 19:16:16 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-03-20 19:16:16 (GMT) |
commit | 217353beafb61313fb322832d3f42958d0b545f0 (patch) | |
tree | a850694568ec05a895c37e32942e082926dff444 | |
parent | 6effc79794e4d6aa3c43d81f53f9520a5a6ae29f (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.py | 4 |
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 |