Author: dmeyer
Date: Fri Dec 22 16:49:34 2006
New Revision: 2279

Modified:
   trunk/popcorn/src/generic.py

Log:
update property list

Modified: trunk/popcorn/src/generic.py
==============================================================================
--- trunk/popcorn/src/generic.py        (original)
+++ trunk/popcorn/src/generic.py        Fri Dec 22 16:49:34 2006
@@ -90,21 +90,25 @@
 
         self._properties = {
 
-            # read/write properties
-            'deinterlace': 'auto',
+            # If a property is changed when no uri is loaded
+            # it will affect all uris loaded after this point.
+            # If changed when an uri is loaded it will only
+            # affect this one. Some properties can't be
+            # changed after the stream is started because the
+            # backend does not support it.
+
+            # settings that are set global is most cases
             'postprocessing': True,
             'software-scaler': True,
-            'pixel-aspect-ratio': '1:1',
+            'pixel-aspect-ratio': '1:1', # of the output
+
+            # settings usefull for changing after a stream is
+            # loaded.
+            'deinterlace': 'auto',
             'audio-track': None,
             'audio-filename': None,
             'subtitle-track': None,
             'subtitle-filename': None,
-
-            # read only properties
-            'audio-track-list': None,
-            'subtitle-track-list': None,
-            'elapsed': None,
-            'length': None
         }
         
         self.signals = {
@@ -414,6 +418,8 @@
         """
         Get information about the stream.
         """
+        # FIXME: more sure the following variables can be accessed:
+        # audio-track-list, subtitle-track-list, elapsed and length
         if self._player:
             return self._player.get_info()
         return {}

-------------------------------------------------------------------------
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