From 0746f99a0afa22aac84823b96c1757659616786e Mon Sep 17 00:00:00 2001 From: corey Date: Fri, 30 Oct 2009 22:18:29 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29805 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/x11_common.c b/libvo/x11_common.c index cdb695290e..036d77e55f 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1316,7 +1316,7 @@ static int vo_x11_get_fs_type(int supported) else type |= vo_wm_NETWM; } else if (!strcmp(arg, "none")) - return 0; + type = 0; // clear; keep parsing } } -- cgit v1.2.3