Author: tack
Date: Fri Dec 22 20:33:07 2006
New Revision: 2283

Modified:
   trunk/popcorn/src/backends/xine/child.py
   trunk/popcorn/src/generic.py

Log:
Generic player shouldn't determine what to do with deinterlace='auto', that
should be left up to the individual backend, because each backend has
different behaviour for deinterlacing (e.g. with xine you can have tvtime
in the filter chain and it will not activate on progressive content).


Modified: trunk/popcorn/src/backends/xine/child.py
==============================================================================
--- trunk/popcorn/src/backends/xine/child.py    (original)
+++ trunk/popcorn/src/backends/xine/child.py    Fri Dec 22 20:33:07 2006
@@ -326,7 +326,7 @@
 
         # wire video stream with needed filter
         chain = []
-        if properties.get('deinterlace'):
+        if properties.get('deinterlace') in (True, 'auto'):
             chain.append('tvtime')
         if properties.get('postprocessing'):
             chain.append('pp')

Modified: trunk/popcorn/src/generic.py
==============================================================================
--- trunk/popcorn/src/generic.py        (original)
+++ trunk/popcorn/src/generic.py        Fri Dec 22 20:33:07 2006
@@ -265,11 +265,6 @@
             properties = self._player._properties
         properties = properties.copy()
 
-        if properties.get('deinterlace') == 'auto':
-            properties['deinterlace'] = False
-            if 'interlaced' in self._media and self._media.interlaced:
-                properties['deinterlace'] = True
-                
         self._player = cls(self._config, properties)
         self._player._state_changed.connect_weak(self._state_change)
         for signal in self._player.signals:

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to