switching. If they are needed for something they must be done in
a more robust way.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24333 b3059339-0415-0410-9bf9-f77b7e298cf2
window-manager fullscreen hint, so that vo_screenwidth/height are right.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23895 b3059339-0415-0410-9bf9-f77b7e298cf2
a line in case of rounding error, so width must be one larger, too.
y-case is already correct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23680 b3059339-0415-0410-9bf9-f77b7e298cf2
consistent by introducing a new function that handles most of the
ugly things. Changes of behaviour with some vos is unavoidable, bug reports
welcome.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23675 b3059339-0415-0410-9bf9-f77b7e298cf2
"implicit declaration of function ‘mplayer_put_key’" warnings
Based on Attila's suggestions.
Approved by Uoti and Ivan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
they too easily cause those "buttons" to get stuck), reducing code duplication.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21982 b3059339-0415-0410-9bf9-f77b7e298cf2
window managers that modify position on Map. Oked by Alexander Strasser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18718 b3059339-0415-0410-9bf9-f77b7e298cf2
remove the variable itself. Convert code in x11_common.c and OSD timing
that depended on the variable to use real time instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.
Comments about a similar patch applied to ffmpeg:
That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter
Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
``Nov 22 To mplayer-cvsl ( 32) [MPlayer-cvslog] CVS: main/libvo x11_common.c,1.199,1.200''
- causes unneeded massive slowdown when stop-xscreensaver is used
- is not consistent with the other xscreensaver functions
- was commited without my approval
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17034 b3059339-0415-0410-9bf9-f77b7e298cf2
patch by Paul TT < paultt == at == hackerjournal == dot == it >
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
(using panscan makes x,y negative, so it is very bad idea they to be unsigned)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15101 b3059339-0415-0410-9bf9-f77b7e298cf2
Made the code also more flexible.
Colorkey drawing is now by default done as
proposed by Marko Macek.
Patch also approved by iive.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14743 b3059339-0415-0410-9bf9-f77b7e298cf2
XFree 3.x does not have the latter.
based on a patch by Trent Piepho <xyzzy at speakeasy dot org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14637 b3059339-0415-0410-9bf9-f77b7e298cf2
Xlib funtions allocate memory that should be freed appropriately
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13954 b3059339-0415-0410-9bf9-f77b7e298cf2