Opened 18 years ago

Last modified 13 years ago

#460 closed enhancement (worksforme)

gmplayer -fs fails to open in fullscreen mode

Reported by: Jouni.Lohikoski@… Owned by: reimar
Priority: normal Component: GUI
Version: HEAD Severity: minor
Keywords: Cc: ib
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

$ gmplayer -h
...

-fs fullscreen playback (or -vm, -zoom, details in the man page)

...

But gmplayer -fs does not start with the fullscreen mode. Hitting 'f' or
fullscreen button in the GUI does maximize it though.

I don't know if gmplayer is much maintained, but at least the bug is there and
reported now. I personally think GUI is important when Linux is getting space in
officies and "normal" homes. Totem/gstreamer is not there yet with supporting so
many media formats as gmplayer.

Change History (4)

comment:1 by reimar, 18 years ago

Resolution: worksforme
Status: newclosed

Works fine for me, does the "start in fullscreen" option in preferences->misc
work for you?
If not, can you try with a different window manager (I use fluxbox 0.1.14)?

comment:2 by Jouni.Lohikoski@…, 18 years ago

No, the "start in fullscreen" in the preferences->misc is not checked and it is
grey, so it cannot be checked either.

Also tried to put 'load_fullscreen = "yes"' into $HOME/.mplayer/gui.conf
but it didn't change anything. 'gmplayer -fs test.avi' doesn't start in full
screen mode and the preferences->misc/start_in_fullscreen is not checked and
non-checkable.

But hey, then I tried to remove whole gui.conf file, and this time it worked!
The gmplayer made new gui.conf, and the differences between the old (non working
-fs) and the new (working -fs) is here:

$ diff gui.conf gui.conf.old
5,6c5,6
< vo_direct_render = "no"
< v_framedrop = "1"
---

vo_direct_render = "yes"
v_framedrop = "0"

9c9
< v_idx = "1"
---

v_idx = "-1"

15c15
< ao_volnorm = "no"
---

ao_volnorm = "yes"

22c22
< osd_level = "1"
---

osd_level = "3"

37,38c37,38
< show_videowin = "yes"
< stopxscreensaver = "no"
---

show_videowin = "no"
stopxscreensaver = "yes"

43,46c43,52
< gui_main_pos_x = "822"
< gui_main_pos_y = "869"
< gui_video_out_pos_x = "0"
< gui_video_out_pos_y = "0"
---

gui_main_pos_x = "796"
gui_main_pos_y = "761"
gui_video_out_pos_x = "480"
gui_video_out_pos_y = "392"
equ_channel_1 = "Front Right"
equ_channel_2 = "Front Left"
equ_channel_3 = "Rear Right"
equ_channel_4 = "Rear Left"
equ_channel_5 = "Center"
equ_channel_6 = "Bass"

Both files have 'load_fullscreen = "yes"'

So it is some other option in the gui.conf(.old) which prevented fullscreen mode
in the start although forced with command parameters.

Could it be that vo_direct_render?

comment:3 by reimar, 18 years ago

Resolution: worksforme
Severity: normalenhancement
Status: closedreopened

no it is
show_videowin aka. "Show video window when inactive".
Makes sense, though it is not really comfortable.
I reopened this as an enhancement request, in the unlikely case somebody feels
bored and like hacking the code...

comment:4 by ib, 13 years ago

Resolution: worksforme
Status: reopenedclosed, ib@wupperonline.de

Should work now. If not, please reopen.

Note: See TracTickets for help on using tickets.