Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gplay.py
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-04-21 17:30:36 (GMT)
committer Daniel Drake <dan@reactivated.net>2010-04-29 14:49:22 (GMT)
commitf6de5db915f077f4d90e68d5ca65b6c986080784 (patch)
tree0cf8946860bc12446eb6a862322c412ae2043f3c /gplay.py
parent5abd5b671874f9db596aac97a5e47ec31a9a5bd8 (diff)
Restore v60 rework
Restore the v60 rewrite to use a single pipeline, tweaking at runtime when necessary. This improves responsivity of the application, and results in the activity behaving reliably again.
Diffstat (limited to 'gplay.py')
-rw-r--r--gplay.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/gplay.py b/gplay.py
index e459563..de5aac2 100644
--- a/gplay.py
+++ b/gplay.py
@@ -99,10 +99,7 @@ class Gplay:
def play(self):
if not self.player.props.video_sink:
- if self.ca.glive.fallback:
- sink = gst.element_factory_make('ximagesink')
- else:
- sink = gst.element_factory_make('xvimagesink')
+ sink = gst.element_factory_make('xvimagesink')
sink.props.force_aspect_ratio = True
self.player.props.video_sink = sink