support for resizing. To maximize window we need to use
_NET_WM_STATE_FULLSCREEN, but it doesn't tell use that it supports it.
New IceWM also doesn't support layers in fullscreen mode, changing it
doesn't change window position (again, "-icelayer" doesn't fit well).
Also while fixing fvwm metacity got broken again, so there is a new
hack or it, and small fix in code for openbox.
Now it should work on almost everything.
Filip Kalinski <filon@pld.org.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8677 b3059339-0415-0410-9bf9-f77b7e298cf2
for ID_VIDEO_FORMAT was only meaningful if it was a fourcc file, the
output for mpeg1 and mpeg2 was jibberish.
based on patch by Philip Jägenstedt <philipj@telia.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8673 b3059339-0415-0410-9bf9-f77b7e298cf2
a single expression.
patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8672 b3059339-0415-0410-9bf9-f77b7e298cf2
It includes ugly hack for OpenBox, swaps checking for netwm
with layers (and makes fvwm work -> they have also broken
_NET_WM_STATE_FULLSCREEN but also supports layers) and changes
back fullscreen layer to 10, afterstep doesn't like 12 :-)
Tested with: sawfish, metacity, kwin, blackbox, openbox, waimea,
windowmaker, afterstep, icewm, mwm, fvwm
Filip Kalinski <filon@pld.org.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8670 b3059339-0415-0410-9bf9-f77b7e298cf2
ended in a '.'.
Originally based on a patch by seru <seru@gmx.net>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8662 b3059339-0415-0410-9bf9-f77b7e298cf2
generally two types of layer support for window managers:
- NetWM states (FULLSCREEN, STAYS_ON_TOP, ABOVE)
sawfish, metacity, kwin
- _WIN_LAYER
IceWM, WindowMaker
So we don't need any other window manager detection functions, we need
only to check for these two.
Code tested on lots of windowmanagers.
patch by Filip Kalinski <filon@pld.org.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8661 b3059339-0415-0410-9bf9-f77b7e298cf2
based on patch by Dmitry Baryshkov <lumag@qnc.ru>
- default height changed from 1 to 4, seems to be more optimal and works
fast on both g400max & gf4ti4200
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8655 b3059339-0415-0410-9bf9-f77b7e298cf2
for "stupid BIOSes", but just the first buffer. So when using -double
option I got flicker with such a stupid BIOS...
patch by Aurelien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8653 b3059339-0415-0410-9bf9-f77b7e298cf2
- uses video time length instead of audio time length to calculate audio size in fallback
- differences in fallback for priv->numberofframes calculation
patch by eviv bulgroz <ebulgroz@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8647 b3059339-0415-0410-9bf9-f77b7e298cf2
After applying fullscreen (x11, xv +/- gui) works with at least:
- sawfish 1.2
- metacity
- kwin
- wmaker
- balckbox
- waimea
- icewm,
so I think it doesn't break anything.
Filip Kalinski <filon@pld.org.pl>
NOTE: we can still reverse it :))) --A'rpi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8646 b3059339-0415-0410-9bf9-f77b7e298cf2
to zero when mplayer exits because of natural EOF or by the quit command.
This can be useful if you (like me) use mplayer in scripts.
patch by Oskar Liljeblad <oskar@osk.mine.nu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8645 b3059339-0415-0410-9bf9-f77b7e298cf2
update the documentation accordingly, plus some spellchecking cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8643 b3059339-0415-0410-9bf9-f77b7e298cf2
The sprintf function has been replaced by an snprintf function to prevent
the buffer overflow.
Erik Oomen <erik.oomen@home.nl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8639 b3059339-0415-0410-9bf9-f77b7e298cf2
together happily. if an oldstyle subtitle (font.desc) is found, it will
be used. otherwise mplayer will choose subfont.ttf, if freetype was
detected during ./configure.
(also you can use -font /path/to/font.desc and -font /path/to/foobar.ttf too)
patch-set by Wojtek Kaniewski <wojtekka@bydg.pdi.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8636 b3059339-0415-0410-9bf9-f77b7e298cf2