Author: duncan
Date: Wed Dec 20 18:43:25 2006
New Revision: 8750
Modified:
branches/rel-1/freevo/src/item.py
branches/rel-1/freevo/src/video/videoitem.py
Log:
Fixed the problem with "cannot store item"
Restored deinterfacing = 0
Modified: branches/rel-1/freevo/src/item.py
==============================================================================
--- branches/rel-1/freevo/src/item.py (original)
+++ branches/rel-1/freevo/src/item.py Wed Dec 20 18:43:25 2006
@@ -236,11 +236,11 @@
set the value of 'key' to 'val'
"""
for var, val in self.autovars:
- #_debug_(u'\"%s\"=\"%s\" \"%s\"=\"%s\"' % (key, var, value, val),
0)
if key == var:
if val == value:
- if not self.delete_info(key):
- _debug_(u'unable to store \"%s\":\"%s\" info for
\'%s\'' % (key, value, self.name), 0)
+ if self.info[key]:
+ if not self.delete_info(key):
+ _debug_(u'unable to store \"%s\":\"%s\" info for
\'%s\'' % (key, value, self.name), 0)
else:
self.store_info(key, value)
return
Modified: branches/rel-1/freevo/src/video/videoitem.py
==============================================================================
--- branches/rel-1/freevo/src/video/videoitem.py (original)
+++ branches/rel-1/freevo/src/video/videoitem.py Wed Dec 20 18:43:25 2006
@@ -162,6 +162,8 @@
and not self['deinterlace']:
# force deinterlacing
self['deinterlace'] = 1
+ else:
+ self['deinterlace'] = 0
def id(self):
-------------------------------------------------------------------------
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