Fix missing selector name warnings

Rename config method to follow convention of Objective-C.

Patch by Jiang Jiang, gzjjgod gmail com.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36363 b3059339-0415-0410-9bf9-f77b7e298cf2
Allow compilation with current icc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36364 b3059339-0415-0410-9bf9-f77b7e298cf2
build: Keep compiler-specific warning flags for debug or profiling builds

Without warning flags like -Werror-implicit-function-declaration
some tests like gethostname2 will compile and therefore succeed.
But not without causing strange run-time failures later on e.g.
when compiled for x86_64 .

Having useful warning flags dropped on debug enabled builds seems
also counter intuitive to me.

This does not necessarily help with all compilers, but that can
be fixed if those compilers have the necessary switches to be
more strict.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36365 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix compilation if giflib 5 is installed.

Other (better) solutions are currently discussed, but there is no reason 
that a default build fails on systems with latest giflib.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36366 b3059339-0415-0410-9bf9-f77b7e298cf2
Support newer GIFLIB versions

Work with GIFLIB version >= 4.2

Several functions have been renamed or changed in signature.

GIFLIB is used by vo gif89a and demuxer gif.

Note about GIFLIB Version 4.2:
It does not work with vanilla GIFLIB 4.2 but it works with
versions that have re-added quantize support like e.g. the
package from arch linux.

Note about GIFLIB Version 5:
The newly added GCB functions use size_t but the necessary
standard headers are not included in gif_lib.h . To workaround
this:

* configure: use statement_check_broken to include stdlib.h
* vo gif89: include gif_lib.h after stdlib.h
* demuxer gif: no workaround needed,
               gif_lib.h is already included after stdlib.h



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36367 b3059339-0415-0410-9bf9-f77b7e298cf2
Use again special value -1 to set original aspect ratio.

With -1, the switch_ratio command does exactly the calculation
being performed here.

This reverts changes in setting the value for the aspect ratio
made in r36358 and r36360.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36368 b3059339-0415-0410-9bf9-f77b7e298cf2
Add check marks to the video aspect ratio menu items.

This is analogous to the video size menu.

Based on a patch by Hans-Dieter Kosch, hdkosch kabelbw de.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36369 b3059339-0415-0410-9bf9-f77b7e298cf2
Keep paused mode when changing the aspect ratio.

Patch by Hans-Dieter Kosch, hdkosch kabelbw de.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36370 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary type conversions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36371 b3059339-0415-0410-9bf9-f77b7e298cf2
Be more pedantic about type of the constant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36372 b3059339-0415-0410-9bf9-f77b7e298cf2
Revise ratio text.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36373 b3059339-0415-0410-9bf9-f77b7e298cf2
Enable localization of ratio text.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36374 b3059339-0415-0410-9bf9-f77b7e298cf2
Be more pedantic about type of the constant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36375 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary type conversions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36376 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Don't shorten floating point constants that way.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36377 b3059339-0415-0410-9bf9-f77b7e298cf2
Increase precision of calculation by using constants of type double.

Additionally: Rearrange calculation for clarity and add comments.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36378 b3059339-0415-0410-9bf9-f77b7e298cf2
Increase precision of calculation by using constants of type double.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36379 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify sign change of variable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36380 b3059339-0415-0410-9bf9-f77b7e298cf2