Follow renaming of AV_HAVE_INCOMPATIBLE_FORK_ABI define.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36351 b3059339-0415-0410-9bf9-f77b7e298cf2
Disable G2M decoder if zlib is not available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36352 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove AV_ prefix from define for internal config.h header.

This avoids a couple of warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36353 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a debug message on the visual.

Print the ID of the matching visual.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36354 b3059339-0415-0410-9bf9-f77b7e298cf2
Prettify debug message.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36355 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/tcp: Check that host object has the right AF before connect

Avoid trying bogus IPv6 adresses on systems that only
have gethostbyname function. Currently we would copy the
IPv4 address into the first part of the IPv6 and then try
to connect to that. The connection attempt can take a long
time.

Tested-by: Erik Auerswald >auerswal unix-ag uni-kl de<
Patch-by: >aplattner nvidia com<



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36356 b3059339-0415-0410-9bf9-f77b7e298cf2
Disable aspect ratio menu in the absence of video playback.

This is analogous to the video size menu.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36357 b3059339-0415-0410-9bf9-f77b7e298cf2
Enable the change of the movie aspect ratio on the fly.

The change of the ratio won't restart the movie any longer now.

Based on a patch by Stephen Sheldon, sfsheldo gmail com.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36358 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Adjust indent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36359 b3059339-0415-0410-9bf9-f77b7e298cf2
Calculate aspect ratio by ourselves.

sh_video->aspect is a prescaled value that is useless in case there is
more than one video to be played and the aspect ratio of a previous one
has been changed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36360 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Adjust indent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36361 b3059339-0415-0410-9bf9-f77b7e298cf2
build: Define _BSD_SOURCE for gethostbyname2

This broke in 1dca91d when a bunch of source #defines were
defined unconditionally for all source files.

Restore IPv6 support in stream/tcp module by handling it
analog to how strsep was handled in 11b73048 .

Patch-by: Erik Auerswald >auerswal unix-ag uni-kl de<



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36362 b3059339-0415-0410-9bf9-f77b7e298cf2
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