Commit Graph

27621 Commits

Author SHA1 Message Date
diego 02135001b4 Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego 52d358e3dc Set HAVE_DVB in configure when HAVE_DVB_HEAD is defined
instead of doing in redundantly in DVB-specific files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27401 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 21:39:29 +00:00
diego 429bf7a9dc cosmetics: typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27400 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 20:35:29 +00:00
compn ded7033671 cosmetics: reindent after last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27399 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 18:43:17 +00:00
compn cae7631dbe change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is set.
fixes -ovc raw -ffourcc
patch by "Andrew Wason" rectalogic !@! rectalogic !.! com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27398 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 18:41:43 +00:00
diego e588ab056d Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:38:11 +00:00
diego 7d6022deba Do not provide a prototype for vsscanf when vsscanf is available.
Fixes a redundant redeclaration warning.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27396 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:09:13 +00:00
diego 96a506733d Change a bunch of codec-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27395 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 16:30:32 +00:00
diego ba58bf37d6 Remove checks for HAVE_XVID3, that conditional was removed a long time ago.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27394 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 13:59:47 +00:00
diego 9fd59e5379 Fix ARM linking failure when IWMMXT support is disabled.
patch by Siarhei Siamashka, siarhei.siamashka gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27393 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 23:15:36 +00:00
diego c8562086dd Remove obsolete diff hunk that is no longer applied to the code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27392 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 23:09:45 +00:00
diego d17f9943af Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
CONFIG_ prefix for configurable options, HAVE_ for system-dependent stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27391 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 20:28:58 +00:00
diego 95c0b67d60 Fix a misleading section in the libavcodec options manual indicating that a
rc_eq of 1 will return a CBR encode and a rc_eq of tex a const QP encode;
likewise for qcomp.
patch by tripp, eliared yahoo com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27390 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 18:10:01 +00:00
compn 0ae6b046a2 add hdv1 fourcc
sync from vlc's fourcc.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27389 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 12:18:19 +00:00
compn d44aa23118 add some h263 fourccs
sync with vlc's fourcc.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27388 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 12:09:49 +00:00
compn f8c885fcb2 add ADJV fourcc to mjpeg
fourcc found in vlc/modules/codec/avcodec/fourcc.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27387 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 12:03:55 +00:00
diego 863b4e5218 Initialize socklen_t variable to "no".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27386 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 05:35:30 +00:00
compn a7e504b249 add XIXL fourcc to videoxl codec
fourcc found in xine-engine/buffer_types.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27385 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 02:52:31 +00:00
diego 9c355fec91 Rename binary-codecs.sh to binary_codecs.sh as it is called in Debian.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27384 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 22:40:22 +00:00
diego 8b9c830dc3 Revert previous broken rename of binary-codecs.sh that had random changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27383 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 22:38:34 +00:00
diego 26a047a816 Rename binary-codecs.sh once more to binary_codecs.sh as it is called in Debian.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27382 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 09:49:16 +00:00
diego afc12ef42b Rename install-w32codecs.sh --> binary-codecs.sh.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27381 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 09:36:18 +00:00
gpoirier 942372789b bump sync tag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27380 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 20:00:05 +00:00
diego 83edb070eb For the case that we add a typedef for socklen_t, we should #define
HAVE_SOCKLEN_T as well to avoid clashing with other typedefs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27379 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:22:32 +00:00
diego a376987211 Check for socklen_t in ws2tcpip.h as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27378 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:16:57 +00:00
diego 6138ec05eb Rename preprocessor directive HAVE_MENU --> CONFIG_MENU.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27377 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:07:19 +00:00
diego e3afb4b2de Remove unused HAVE_MENCODER definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27376 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:46:27 +00:00
diego 3b31fa5717 Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:44:59 +00:00
diego 1fdf02e6fb Remove unused definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27374 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:03:30 +00:00
diego 4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
diego cbe1fcbf83 Drop USE_ prefix from USE_MPLAYER_CPUDETECT #define.
It is unlike the other USE_ #defines set by configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27372 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 11:48:01 +00:00
diego 771cd67118 Use conditional compilation instead of an #ifdef around the whole file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27371 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 10:26:23 +00:00
diego 914d02fbdf Remove unused definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27370 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 09:49:59 +00:00
diego 32879d8d61 Add proper check for socklen_t.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27369 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 09:42:37 +00:00
diego 2871b0b874 cosmetics: Group FFmpeg definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27368 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 08:59:02 +00:00
compn 2c1616fb79 add XDCAM and more HDV MPEG2 fourccs
tested on /MPlayer/incoming/hdv6/hdv6.mov
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-July/050348.html


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27367 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 03:30:48 +00:00
compn df9f82d41d change arbitrary CODECS_MAX_FOURCC limit to larger arbitrary limit
some camera generates different MPEG2 fourccs for each res and fps.
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-July/050348.html


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27366 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 03:27:17 +00:00
ptt aba5ea4a69 changed 'Audio file' to 'Audio only' (to not get 'Audio file file' when played)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27365 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-29 11:17:52 +00:00
diego 9e4b7bbc27 Do not add __CYGWIN__ to CFLAGS on Cygwin, the system defines it anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27364 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:33:54 +00:00
diego 9c40dd44ab Rework OS/2 configuration with respect to linker output formats.
Since nm only supports a.out on OS/2, the linker options to specify
a different output format need to be added after the check using nm.
based on a patch by  KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27363 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:33:08 +00:00
diego e9aed9cf90 cosmetics: Add a separator comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27362 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:21:36 +00:00
diego 81a931dd9d Move libdvdnav check before the CFLAGS section. It is still the last check
at this position.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27361 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:18:07 +00:00
ptt 5849495fdd synced with r27348
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27360 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:04:48 +00:00
diego 3a313f4def Move CFLAGS specific to internal libdvdread and libfaad2 to the Makefile and
use them only when compiling objects from those subdirectories.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27359 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:57:22 +00:00
diego cc9fdab3e8 Remove unused HPUX #define from command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27358 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:47:19 +00:00
diego 0934a87e1a Move libdvdcss-specific CFLAG settings to libdvdcss test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27357 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:36:11 +00:00
compn 3069de886e add ffvp6a codec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27356 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 01:01:54 +00:00
compn b3978d78b2 add ffmotionpixels codec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27355 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 00:50:39 +00:00
reimar bf91f83022 Get rid of horrible code that relies on codec-set context variable,
it is useless anyway since all the necessary information is available anyway.
This also makes MPlayer display the correct length for Theora-in-Ogg-Videos.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27354 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 22:27:50 +00:00
reimar f6b9076a6d Use GetTimerMS() instead of time() with srand.
This is more portable and avoids generating the same random numbers
for a whole second (and on MinGW for some unexplainable reason for
almost 10 seconds).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27353 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 21:58:00 +00:00