[MPlayer-cvslog] r29805 - in trunk: DOCS/man/en/mplayer.1 libvo/x11_common.c

corey subversion at mplayerhq.hu
Fri Oct 30 23:18:29 CET 2009


Author: corey
Date: Fri Oct 30 23:18:29 2009
New Revision: 29805

Log:
Slightly change behavior of "none" if fstype specification.

In a list of enabled fstypes, "none" now clears the list rather than
disabling all fstypes and interrupting the parser. To enable only one
(or more) fstypes, list the types to enable after "none".

For example:
"-fstype none" is the same as before: all disabled
"-fstype none,fullscreen" enables only the fullscreen type

Modified:
   trunk/libvo/x11_common.c

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/man/en/mplayer.1

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Fri Oct 30 15:13:25 2009	(r29804)
+++ trunk/libvo/x11_common.c	Fri Oct 30 23:18:29 2009	(r29805)
@@ -1316,7 +1316,7 @@ static int vo_x11_get_fs_type(int suppor
                 else
                     type |= vo_wm_NETWM;
             } else if (!strcmp(arg, "none"))
-                return 0;
+                type = 0; // clear; keep parsing
         }
     }
 


More information about the MPlayer-cvslog mailing list