[MPlayer-dev-eng] [PATCH] x11 vo drivers override user settings for window placement

The Wanderer inverseparadox at comcast.net
Tue Jun 26 01:49:26 CEST 2007


Vladimir Mosgalin wrote:

> Hi The Wanderer!
> 
> On 2007.06.25 at 17:25:11 -0400, The Wanderer wrote next:
> 
>> It does not lose fullscreen status for me, and never has, except in
>> the case where I had not specified '-fs' before any filenames on
>> the command line.
> 
> Now that I tried it, this trick works for me too. By "losing 
> fullscreen", I always meant "starting in a window -> pressing f ->
> going to fullscreen -> going to next video -> losing fullscreen
> status". I never use -fs switch actually.
> 
> With -fs, fullscreen status isn't lost, but then I can't switch back
> to window anymore! If I do, mplayer will switch back to fullscreen by
> itself on the next video. So even if -fs is used, it's still broken.

It's not that it's broken; it's that you're expecting it to do something
it isn't designed to do.

Fullscreen status is set per-file. When the -fs option (or the -nofs
option, which is default) appears before any filename, it sets (or,
again by default, unsets) that status for all filenames given. When the
-fs option appears after any specific filename, it sets that status for
just that file. When you press the 'f' key, AFAICT you toggle that
status for just the current file.

You apparently want to be able to set the status for all not-yet-played
files (and perhaps all already-played ones, in case of skipping
backwards in the file queue), whenever you toggle the status for the
current fle. MPlayer does not currently support this. It might be worth
adding the option, but I for one would not like to see the current
behaviour removed entirely.


(For example, in a case such as

mplayer file1.avi file2.avi -fs file3.avi

MPlayer will play the first file windowed, the second in fullscreen, and
the third windowed. Likewise, either of

mplayer file1.avi -fs file2.avi file3.avi -fs
mplayer -fs file1.avi file2.avi -nofs file3.avi

should produce the mirror behaviour.


Given that the desired fullscreen status has already been specified by
the command-line options: how would you expect MPlayer to behave, with
either of the command lines above, if you toggled fullscreen in the
middle of one of the videos?)

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.



More information about the MPlayer-dev-eng mailing list