mplayer.git
10 years agoFix 'assignment from incompatible pointer type' warning.
cehoyos [Sat, 3 Jul 2010 09:58:13 +0000 (09:58 +0000)]
Fix 'assignment from incompatible pointer type' warning.

Patch by Eli Friedman, eli d friedman a gmail

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

10 years agoSynced with help_mp-en.h rev. 31579
jrash [Sat, 3 Jul 2010 01:02:47 +0000 (01:02 +0000)]
Synced with help_mp-en.h rev. 31579

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

10 years agoAvoid out-of-bounds read if mp_msg prints an empty string.
reimar [Fri, 2 Jul 2010 23:43:09 +0000 (23:43 +0000)]
Avoid out-of-bounds read if mp_msg prints an empty string.

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

10 years agoFactor out a large conditional, hopefully making it easier to
reimar [Fri, 2 Jul 2010 21:19:21 +0000 (21:19 +0000)]
Factor out a large conditional, hopefully making it easier to
add more subtitle types.

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

10 years agoMove the subtitle pts handling code to demuxer.c
reimar [Fri, 2 Jul 2010 21:14:42 +0000 (21:14 +0000)]
Move the subtitle pts handling code to demuxer.c
This also fixes endpts using first->endpts instead
of current->endpts and the move should avoid missing
such fixes in the future by having all related code in
one place.

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

10 years agoGet window dimensions also for -wid 0.
reimar [Fri, 2 Jul 2010 19:59:02 +0000 (19:59 +0000)]
Get window dimensions also for -wid 0.

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

10 years agoRe-enable keyboard input for GUI video window.
reimar [Fri, 2 Jul 2010 19:50:23 +0000 (19:50 +0000)]
Re-enable keyboard input for GUI video window.

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

10 years agoRemove useless ()
reimar [Fri, 2 Jul 2010 19:19:21 +0000 (19:19 +0000)]
Remove useless ()

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

10 years agoRemove some commented-out code that has no purpose and is only confusing.
reimar [Fri, 2 Jul 2010 19:18:17 +0000 (19:18 +0000)]
Remove some commented-out code that has no purpose and is only confusing.

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

10 years agoHopefully fix librtmp detection.
cehoyos [Fri, 2 Jul 2010 16:52:32 +0000 (16:52 +0000)]
Hopefully fix librtmp detection.

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

10 years agoUse cflag_check utility function in cross-compilation check.
diego [Fri, 2 Jul 2010 10:02:34 +0000 (10:02 +0000)]
Use cflag_check utility function in cross-compilation check.

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

10 years agoAdd return statement to function_check test program.
diego [Fri, 2 Jul 2010 09:38:46 +0000 (09:38 +0000)]
Add return statement to function_check test program.

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

10 years agoReplace some more manual compiler flag checks with cflag_check function.
diego [Thu, 1 Jul 2010 23:52:01 +0000 (23:52 +0000)]
Replace some more manual compiler flag checks with cflag_check function.

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

10 years agoDeclare FARPROC/PROC/FARPROC16/PROC16 parameter lists as 'void'.
diego [Thu, 1 Jul 2010 23:24:46 +0000 (23:24 +0000)]
Declare FARPROC/PROC/FARPROC16/PROC16 parameter lists as 'void'.

This is not strictly correct since the list of parameters can vary,
but it silences a long list of annoying warnings of the sort:
loader/wine/windef.h:305: warning: function declaration isn't a prototype

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

10 years agoSeparate automatic dependency generation flags from general CFLAGS.
diego [Thu, 1 Jul 2010 23:18:16 +0000 (23:18 +0000)]
Separate automatic dependency generation flags from general CFLAGS.

Before, there was an unfortunate interaction with 'make checkheaders':
Compiling a .h file would generate a .d dependency information file for
that .h file as a sideeffect of compilation. Unfortunately this would
clobber the .d files of the .c files with the same basename, resulting
in broken dependency information when running plain make.

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

10 years agoAdd convenience function to check for compiler flags directly and use it.
diego [Thu, 1 Jul 2010 23:03:40 +0000 (23:03 +0000)]
Add convenience function to check for compiler flags directly and use it.

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

10 years agocosmetics: Rename _warn_CFLAGS variable to warn_cflags.
diego [Thu, 1 Jul 2010 22:19:57 +0000 (22:19 +0000)]
cosmetics: Rename _warn_CFLAGS variable to warn_cflags.

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

10 years agoGive functions proper prototypes.
reimar [Thu, 1 Jul 2010 21:11:10 +0000 (21:11 +0000)]
Give functions proper prototypes.

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

10 years agoUse AV_RL32 also in x86, it is well enough optimized nowadays.
reimar [Thu, 1 Jul 2010 20:57:40 +0000 (20:57 +0000)]
Use AV_RL32 also in x86, it is well enough optimized nowadays.

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

10 years agoFix function prototypes to match the required type.
reimar [Thu, 1 Jul 2010 20:52:17 +0000 (20:52 +0000)]
Fix function prototypes to match the required type.
Fixes "initialization from incompatible pointer type" warnings.

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

10 years agoAvoid void *-arithmentic warnings.
reimar [Thu, 1 Jul 2010 20:49:35 +0000 (20:49 +0000)]
Avoid void *-arithmentic warnings.

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

10 years agoFix ffmpeg logging: mp_msg_test must be called after the proper target
reimar [Thu, 1 Jul 2010 20:43:20 +0000 (20:43 +0000)]
Fix ffmpeg logging: mp_msg_test must be called after the proper target
was detemined.

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

10 years agoAdd some const, the ad_functions structs are in rodata.
reimar [Thu, 1 Jul 2010 20:41:42 +0000 (20:41 +0000)]
Add some const, the ad_functions structs are in rodata.

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

10 years agoAlways request expose events, we have to handle them, the application
reimar [Thu, 1 Jul 2010 20:04:38 +0000 (20:04 +0000)]
Always request expose events, we have to handle them, the application
that created the -wid window can't.

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

10 years agoFix resizing with -wid after previous commit.
reimar [Thu, 1 Jul 2010 20:00:19 +0000 (20:00 +0000)]
Fix resizing with -wid after previous commit.

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

10 years ago* fix compilation using external libfaad
attila [Thu, 1 Jul 2010 19:59:42 +0000 (19:59 +0000)]
* fix compilation using external libfaad
* revert r31565

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

10 years agoSome indentation fixes.
reimar [Thu, 1 Jul 2010 19:52:18 +0000 (19:52 +0000)]
Some indentation fixes.

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

10 years agoDo not try to grab input from -wid windows, it will most likely break
reimar [Thu, 1 Jul 2010 19:48:00 +0000 (19:48 +0000)]
Do not try to grab input from -wid windows, it will most likely break
their input processing.
If someone needs the previous behaviour, an option could be added
(and also used in the w32_common.c code).

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

10 years agoFix -geometry with -wid behaviour (y position was flipped).
reimar [Thu, 1 Jul 2010 19:43:38 +0000 (19:43 +0000)]
Fix -geometry with -wid behaviour (y position was flipped).

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

10 years agoskinName is already declared in interface.h, so remove
reimar [Thu, 1 Jul 2010 17:47:25 +0000 (17:47 +0000)]
skinName is already declared in interface.h, so remove
it from here.

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

10 years agoFix win32 gui compilation.
reimar [Thu, 1 Jul 2010 17:46:32 +0000 (17:46 +0000)]
Fix win32 gui compilation.

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

10 years agoAvoid some deprecated functions.
reimar [Thu, 1 Jul 2010 17:28:15 +0000 (17:28 +0000)]
Avoid some deprecated functions.

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

10 years agoconfig.log belongs into mplayer's root directory, not into the tmp directory
attila [Thu, 1 Jul 2010 16:51:46 +0000 (16:51 +0000)]
config.log belongs into mplayer's root directory, not into the tmp directory

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

10 years agoAdd disabling input to hints.
reimar [Thu, 1 Jul 2010 16:48:03 +0000 (16:48 +0000)]
Add disabling input to hints.

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

10 years agoFix variable name for tmpdir selection iterator.
diego [Thu, 1 Jul 2010 10:22:19 +0000 (10:22 +0000)]
Fix variable name for tmpdir selection iterator.
Temporary directories should now be properly created on Linux.

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

10 years agoAdd convenience function to check for the availability of system functions.
diego [Thu, 1 Jul 2010 10:14:30 +0000 (10:14 +0000)]
Add convenience function to check for the availability of system functions.

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

10 years agoPlace temporary files in a subdirectory of their own.
diego [Thu, 1 Jul 2010 09:00:54 +0000 (09:00 +0000)]
Place temporary files in a subdirectory of their own.

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

10 years agoMove dvd_speed extern variable declaration from stream_dvd_common.h to stream.h.
diego [Wed, 30 Jun 2010 10:09:19 +0000 (10:09 +0000)]
Move dvd_speed extern variable declaration from stream_dvd_common.h to stream.h.

All other dvd_ extern variable declarations are there already and this avoids
#ifdefs around an #include of stream_dvd_common.h in cfg-common.h, which would
be necessary because stream_dvd_common.h contains dvdread #includes.

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

10 years agoMP3 decoding through libmpg123
diego [Wed, 30 Jun 2010 09:55:14 +0000 (09:55 +0000)]
MP3 decoding through libmpg123
patch by Thomas Orgis, thomas-forum orgis org

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

10 years agoconfigure: Fix detection of SDL backend for vo_gl on OS X
astrange [Wed, 30 Jun 2010 09:27:03 +0000 (09:27 +0000)]
configure: Fix detection of SDL backend for vo_gl on OS X

SDL overrides main, and provides a prototype for SDL_main
which uses argc and argv. Since the prototype didn't match
the main() in the test program, it failed to compile, making
the test fail when it should have worked.

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

10 years agoAdd config.h include needed for other included files
reimar [Tue, 29 Jun 2010 16:30:28 +0000 (16:30 +0000)]
Add config.h include needed for other included files
in sysdep/.

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

10 years agoAvoid a crash if stream->url is not set, but print a warning since this
reimar [Tue, 29 Jun 2010 14:48:54 +0000 (14:48 +0000)]
Avoid a crash if stream->url is not set, but print a warning since this
is not supposed to happen.

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

10 years agoReplace HAVE_BIGENDIAN #ifdef around swap_palette() by av_unused attribute.
diego [Tue, 29 Jun 2010 12:13:57 +0000 (12:13 +0000)]
Replace HAVE_BIGENDIAN #ifdef around swap_palette() by av_unused attribute.

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

10 years agoUpdate ffvp8 comment.
cehoyos [Tue, 29 Jun 2010 08:33:39 +0000 (08:33 +0000)]
Update ffvp8 comment.

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

10 years agoPlace swap_palette declaration under the same #ifdef as its usage; fixes:
diego [Mon, 28 Jun 2010 16:54:27 +0000 (16:54 +0000)]
Place swap_palette declaration under the same #ifdef as its usage; fixes:
libmpcodecs/vd_ffmpeg.c:784: warning: 'swap_palette' defined but not used

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

10 years agoRemove help target that prints available targets.
diego [Mon, 28 Jun 2010 16:45:47 +0000 (16:45 +0000)]
Remove help target that prints available targets.
The Makefile should now be simple enough to understand without it.

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

10 years agoRemove some commented-out cruft.
diego [Mon, 28 Jun 2010 16:31:11 +0000 (16:31 +0000)]
Remove some commented-out cruft.

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

10 years agoClean up #include handling in mplayer.c and mencoder.c.
diego [Mon, 28 Jun 2010 09:39:49 +0000 (09:39 +0000)]
Clean up #include handling in mplayer.c and mencoder.c.

All #includes are moved to the top and grouped alphabetically,
system headers before local headers.
This avoids some redundant redeclaration warnings that occurred due to some
global variables being declared and then (re)declared extern in header files.

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

10 years agocosmetics: Move volstep global var to the top where all other global vars live.
diego [Mon, 28 Jun 2010 09:35:18 +0000 (09:35 +0000)]
cosmetics: Move volstep global var to the top where all other global vars live.

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

10 years agoRemove unnecessary HELP_MP_DEFINE_STATIC #define and corresponding #ifdefs.
diego [Mon, 28 Jun 2010 09:25:56 +0000 (09:25 +0000)]
Remove unnecessary HELP_MP_DEFINE_STATIC #define and corresponding #ifdefs.
This was attempted before and reverted due to causing warnings. No warnings
appear after the removal now, so the operation should be safe this time.

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

10 years agorevert the previous to commits, but clarify the res_comment
siretart [Mon, 28 Jun 2010 08:43:05 +0000 (08:43 +0000)]
revert the previous to commits, but clarify the res_comment

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

10 years agoFactorize MPlayer/MEncoder version string handling.
diego [Mon, 28 Jun 2010 08:26:14 +0000 (08:26 +0000)]
Factorize MPlayer/MEncoder version string handling.
The string now resides in a central object file instead of
being duplicated in every file that requires a version string.

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

10 years agoffvp8 decodes all reference vectors fine.
cehoyos [Sun, 27 Jun 2010 20:47:26 +0000 (20:47 +0000)]
ffvp8 decodes all reference vectors fine.

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

10 years agofflibvpx is significantly faster than ffvp8 for nearly all users.
cehoyos [Sun, 27 Jun 2010 20:46:42 +0000 (20:46 +0000)]
fflibvpx is significantly faster than ffvp8 for nearly all users.

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

10 years agoreindent after last commit
siretart [Sun, 27 Jun 2010 19:56:49 +0000 (19:56 +0000)]
reindent after last commit

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

10 years agolibvpx does not require static libavcodec
siretart [Sun, 27 Jun 2010 19:55:17 +0000 (19:55 +0000)]
libvpx does not require static libavcodec

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

10 years agoFix indentation.
reimar [Sun, 27 Jun 2010 19:20:38 +0000 (19:20 +0000)]
Fix indentation.

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

10 years agoSimplify clang version extraction.
reimar [Sun, 27 Jun 2010 19:19:50 +0000 (19:19 +0000)]
Simplify clang version extraction.

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

10 years agoclang also does not support -march=native.
reimar [Sun, 27 Jun 2010 19:10:29 +0000 (19:10 +0000)]
clang also does not support -march=native.

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

10 years agoExperimental support for clang compiler.
reimar [Sun, 27 Jun 2010 19:07:51 +0000 (19:07 +0000)]
Experimental support for clang compiler.

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

10 years agoInclude internal.h last to avoid a conflict between its dprintf()
reimar [Sun, 27 Jun 2010 19:02:10 +0000 (19:02 +0000)]
Include internal.h last to avoid a conflict between its dprintf()
macro and the stdio.h declaration that causes a clang error.

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

10 years ago100l, actually enable libvpx encoder if libvpx is detected.
reimar [Sun, 27 Jun 2010 16:28:45 +0000 (16:28 +0000)]
100l, actually enable libvpx encoder if libvpx is detected.

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

10 years agoUse MSG_NOSIGNAL flag if available for send().
reimar [Sun, 27 Jun 2010 15:04:13 +0000 (15:04 +0000)]
Use MSG_NOSIGNAL flag if available for send().
This avoids MPlayer quitting due to SIGPIPE at least for these cases.
Ignoring SIGPIPE in general would break window-closing with some
window-managers.

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

10 years agoRemove (or for now actually only disable) support for external libfaad.
reimar [Sun, 27 Jun 2010 15:01:24 +0000 (15:01 +0000)]
Remove (or for now actually only disable) support for external libfaad.
It is pointless and actually does not even compile currently.

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

10 years agoUpdate VP8 support information.
reimar [Sun, 27 Jun 2010 14:58:50 +0000 (14:58 +0000)]
Update VP8 support information.

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

10 years agoFix arpa/inet.h configure check.
reimar [Sun, 27 Jun 2010 14:55:58 +0000 (14:55 +0000)]
Fix arpa/inet.h configure check.

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

10 years agoAdd missing include for usec_sleep.
reimar [Sun, 27 Jun 2010 14:49:35 +0000 (14:49 +0000)]
Add missing include for usec_sleep.

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

10 years agoFix missing iopl declaration on x86_64 systems.
reimar [Sun, 27 Jun 2010 14:47:50 +0000 (14:47 +0000)]
Fix missing iopl declaration on x86_64 systems.

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

10 years agoAllow the FFmpeg VP8 decoder to work by disabling dr for it (thus we do not
reimar [Sat, 26 Jun 2010 18:06:20 +0000 (18:06 +0000)]
Allow the FFmpeg VP8 decoder to work by disabling dr for it (thus we do not
need edge emulation).

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

10 years agoEnsure that e.g. -af-pre will not cause the filter list to be
reimar [Fri, 25 Jun 2010 16:56:40 +0000 (16:56 +0000)]
Ensure that e.g. -af-pre will not cause the filter list to be
unterminated when the list was empty before.
Should fix bug #1687.

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

10 years agoladspa: ensure that activate is called on each filter instance, even
reimar [Fri, 25 Jun 2010 16:53:27 +0000 (16:53 +0000)]
ladspa: ensure that activate is called on each filter instance, even
if we have e.g. multiple mono filters handling a multichannel file.
Fixes one of the bugs reported as bug #1685.

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

10 years agoSynced with help_mp-en.h rev. 31512
jrash [Fri, 25 Jun 2010 13:30:34 +0000 (13:30 +0000)]
Synced with help_mp-en.h rev. 31512

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

10 years agosync with en/mplayer.1 rev. 31552
jrash [Fri, 25 Jun 2010 13:27:37 +0000 (13:27 +0000)]
sync with en/mplayer.1 rev. 31552

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

10 years agoClean up sub-related extern declarations.
diego [Thu, 24 Jun 2010 17:19:49 +0000 (17:19 +0000)]
Clean up sub-related extern declarations.
- Move sub_delay and sub_fps declarations to mpcommon.h.
- Remove redundant ass_track extern declaration.
- Add #include for sub_utf8 extern declaration.

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

10 years agoAdd libvo/sub.h #include instead of declaring sub_visibility extern.
diego [Thu, 24 Jun 2010 16:50:47 +0000 (16:50 +0000)]
Add libvo/sub.h #include instead of declaring sub_visibility extern.

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

10 years agoAdd #include for libvo/sub.h instead of duplicating sub_pos extern declaration.
diego [Thu, 24 Jun 2010 16:38:13 +0000 (16:38 +0000)]
Add #include for libvo/sub.h instead of duplicating sub_pos extern declaration.

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

10 years agomake clear that -frames 0 surpresses all _video_ output and not the
attila [Thu, 24 Jun 2010 14:06:51 +0000 (14:06 +0000)]
make clear that -frames 0 surpresses all _video_ output and not the
text output

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

10 years agoAdd prototypes for exported FilterGraph_ functions.
diego [Thu, 24 Jun 2010 10:19:49 +0000 (10:19 +0000)]
Add prototypes for exported FilterGraph_ functions.
This fixes a bunch of missing prototype warnings.

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

10 years agoRemove redundant mp_msg_levels[] extern declaration.
diego [Thu, 24 Jun 2010 09:38:02 +0000 (09:38 +0000)]
Remove redundant mp_msg_levels[] extern declaration.

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

10 years agoMove rtsp_port extern declaration to demuxer.h.
diego [Thu, 24 Jun 2010 09:23:49 +0000 (09:23 +0000)]
Move rtsp_port extern declaration to demuxer.h.

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

10 years agoFix catch() callback function declaration in two compile tests.
diego [Thu, 24 Jun 2010 08:15:46 +0000 (08:15 +0000)]
Fix catch() callback function declaration in two compile tests.

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

10 years agowhitespace cosmetics
diego [Thu, 24 Jun 2010 08:14:32 +0000 (08:14 +0000)]
whitespace cosmetics

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

10 years agoRemove unnecessary #includes from libnut test.
diego [Thu, 24 Jun 2010 08:12:49 +0000 (08:12 +0000)]
Remove unnecessary #includes from libnut test.

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

10 years agoReplace manual header checks by header_check function.
diego [Thu, 24 Jun 2010 08:03:41 +0000 (08:03 +0000)]
Replace manual header checks by header_check function.

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

10 years agoImprove extrastereo audio filter description.
diego [Wed, 23 Jun 2010 23:56:10 +0000 (23:56 +0000)]
Improve extrastereo audio filter description.

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

10 years agoImprove LATM recognition.
cehoyos [Wed, 23 Jun 2010 18:44:06 +0000 (18:44 +0000)]
Improve LATM recognition.

Patch by Dan Oscarsson,  Dan d Oscarsson a tieto d com

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

10 years agoAdd FFmpeg VP8 decoder, even though it is not working since MPlayer requires
reimar [Wed, 23 Jun 2010 17:34:19 +0000 (17:34 +0000)]
Add FFmpeg VP8 decoder, even though it is not working since MPlayer requires
edge emulation support.

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

10 years agoChange libvpx configure check to match FFmpeg's and also enable the encoder.
reimar [Wed, 23 Jun 2010 16:57:04 +0000 (16:57 +0000)]
Change libvpx configure check to match FFmpeg's and also enable the encoder.

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

10 years agoReplace ever-growing-to-uglyness IS_* macros to by functions
reimar [Wed, 23 Jun 2010 16:44:21 +0000 (16:44 +0000)]
Replace ever-growing-to-uglyness IS_* macros to by functions
and switch().

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

10 years agoMove rtsp_destination extern declaration to stream.h.
diego [Wed, 23 Jun 2010 16:39:16 +0000 (16:39 +0000)]
Move rtsp_destination extern declaration to stream.h.

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

10 years agoGet rid of xsltproc wrapper redirection; run commands directly from make.
diego [Wed, 23 Jun 2010 13:36:02 +0000 (13:36 +0000)]
Get rid of xsltproc wrapper redirection; run commands directly from make.

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

10 years agoMove xsltproc target file hack to the Makefile.
diego [Wed, 23 Jun 2010 13:24:53 +0000 (13:24 +0000)]
Move xsltproc target file hack to the Makefile.

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

10 years agoDrop support for the Saxon XSLT processor.
diego [Wed, 23 Jun 2010 12:38:40 +0000 (12:38 +0000)]
Drop support for the Saxon XSLT processor.
The XSLT processor detection needs to be overhauled and simplified. Since
nobody appears to be using Saxon it is just a burden that hinders the
simplification. It can be added back cleanly if there is popular request.

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

10 years agoDrop configure support for Jade/OpenJade XSLT processors.
diego [Wed, 23 Jun 2010 12:24:48 +0000 (12:24 +0000)]
Drop configure support for Jade/OpenJade XSLT processors.
Support is not functional nor is it clear it ever worked at all.

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

10 years agoGet rid of xmllint wrapper redirection; run commands directly from make.
diego [Wed, 23 Jun 2010 12:07:29 +0000 (12:07 +0000)]
Get rid of xmllint wrapper redirection; run commands directly from make.

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

10 years agoFix iopl() function declaration, fixes the warning:
diego [Wed, 23 Jun 2010 11:37:26 +0000 (11:37 +0000)]
Fix iopl() function declaration, fixes the warning:
vidix/sysdep/pci_linux.c:32: warning: function declaration isn't a prototype

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

10 years agoRemove pointless __linux__ preprocessor checks.
diego [Wed, 23 Jun 2010 11:36:40 +0000 (11:36 +0000)]
Remove pointless __linux__ preprocessor checks.
The file is only ever used if that preprocessor check is true.

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

10 years agoRemove duplicated MKTAG macro definition, #include libavutil/common.h instead.
diego [Wed, 23 Jun 2010 10:59:26 +0000 (10:59 +0000)]
Remove duplicated MKTAG macro definition, #include libavutil/common.h instead.

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

10 years agoChange timer_name type from char* to char[]; patch taken from Uoti's tree.
diego [Wed, 23 Jun 2010 10:50:55 +0000 (10:50 +0000)]
Change timer_name type from char* to char[]; patch taken from Uoti's tree.

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

10 years agoAdd CONFIG_SHARED to config.h for FFmpeg.
diego [Wed, 23 Jun 2010 10:47:48 +0000 (10:47 +0000)]
Add CONFIG_SHARED to config.h for FFmpeg.

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