Freevo prevents mplayer from understanding input even if you configure freevo 
not to embed mplayer. This resulted in a mplayer window that could not be 
closed, skipped or paused and forces you to watch the video untill it ends.

The attached patch prevents this.
Index: src/backends/mplayer/player.py
===================================================================
--- src/backends/mplayer/player.py	(revision 2843)
+++ src/backends/mplayer/player.py	(working copy)
@@ -526,7 +526,9 @@
             for key in keys:
                 fd.write("%s noop\n" % key)
             fd.close()
-        args.add(input='conf=%s' % tempfile)
+        # only prevent input if the player is embedded
+        if config.mplayer.embedded:
+            args.add(input='conf=%s' % tempfile)
 
         # set properties subtitle filename and subtitle track
         if self._properties.get('subtitle-filename'):
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to