Author: dmeyer
Date: Thu Apr 5 18:21:09 2007
New Revision: 2610
Modified:
trunk/popcorn/src/backends/mplayer/player.py
Log:
add -idx if needed
Modified: trunk/popcorn/src/backends/mplayer/player.py
==============================================================================
--- trunk/popcorn/src/backends/mplayer/player.py (original)
+++ trunk/popcorn/src/backends/mplayer/player.py Thu Apr 5 18:21:09 2007
@@ -495,6 +495,11 @@
filters.append(config.mplayer.deinterlacer)
+ self._media.get('corrupt'):
+ # File marked as corrupt. This happens for avi and mkv files
+ # with no index. To make seeking work, add -idx
+ args.append('-idx')
+
# FIXME: self._filters_pre / add doesn't get included if no window.
if self._window:
self.configure_video()
-------------------------------------------------------------------------
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