summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rename eatgv -> ffeatgv, lpcm -> fflpcmattila2010-03-311-2/+2
| | | | | | | | | for consitently naming all ffmpeg codecs requested by compn git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30977 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add HAVE_STRERROR_R definition for FFmpeg to config.h.diego2010-03-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30976 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use (void) instead of () to indicate a parameterless function, fixes:diego2010-03-281-1/+1
| | | | | | | libvo/vo_xvmc.c:123: warning: function declaration isn't a prototype git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30975 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add definition of CONFIG_LIBRTMP to config.h for FFmpeg.diego2010-03-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30974 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after librtmp support in FFmpeg.reimar2010-03-281-0/+1
| | | | | | | Should be replaced by a proper configure check for librtmp later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash with incomplete yuv2 frames.reimar2010-03-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30972 b3059339-0415-0410-9bf9-f77b7e298cf2
* Leave disabling SSE to the check_os_katmai_support always regardless of OS,reimar2010-03-271-8/+0
| | | | | | | | it can already handle all cases, will always print a proper warning and probably fixes SSE being disabled on x86_64 Solaris systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30971 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support concatenated YUV4MPEG files.reimar2010-03-271-11/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30970 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc instead of malloc+memsetreimar2010-03-271-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30969 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add const to some video_out extern declarations to match their definitions.reimar2010-03-271-45/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30968 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark some more LIBVO_EXTERN declarations as const where possible.reimar2010-03-274-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30967 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, fix frametime calculation for MPEG-2 files with frame rate extension.reimar2010-03-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30966 b3059339-0415-0410-9bf9-f77b7e298cf2
* libswscale: Relicense almost all x86 assembler optimizations as LGPL.diego2010-03-275-74/+59
| | | | | | | | This is of course done with permissions from the authors. The only GPL component left are MMX optimizations for YUV to RGB conversion. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Refactor OS X foreground process setting into a separate function.diego2010-03-264-38/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30964 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Break some overly long lines.diego2010-03-261-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30963 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert asm keyword to __asm__.diego2010-03-261-3/+3
| | | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 syntax. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30962 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.diego2010-03-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30961 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused OPTFLAGS variable from config.mak.diego2010-03-251-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30960 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused MACOSX_BUNDLE config.mak entry.diego2010-03-251-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30959 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move some FFmpeg-specific entries to the FFmpeg section of config.mak.diego2010-03-251-5/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't try to delete the global memory mutex in the Win32 loader code,sesse2010-03-251-4/+1
| | | | | | | | | | | | since it's now statically allocated and will not be reallocated if a new allocation comes along. This also fixes an issue where the mutex would not always be properly unlocked, leading to deadlocks. I thought I'd committed that ages ago, but obviously not, and it broke CineForm initialization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark add_subtitles() as static, it is not used outside the file, fixes:diego2010-03-241-1/+1
| | | | | | | mencoder.c:337: warning: no previous prototype for 'add_subtitles' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove /usr[/local]/lib/win32 from the list of Win32 codec search paths.diego2010-03-241-1/+1
| | | | | | | | These paths have been deprecated a long time ago, just searching the default binary codec path is enough nowadays. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30955 b3059339-0415-0410-9bf9-f77b7e298cf2
* AltiVec implies a PPC CPU, so there is no need to check for both.diego2010-03-232-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30954 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader: Remove commented-out extra_ld_library_path cruft.diego2010-03-232-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30953 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not compile AltiVec code when AltiVec is not available; not even indiego2010-03-231-3/+3
| | | | | | | | runtime cpudetection mode. Fixes compilation with '--enable-runtime-cpudetect --disable-altivec'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30952 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make http_read_response fail if parsing the response failed.reimar2010-03-231-1/+4
| | | | | | | | Avoids possible crashes since other code assumes http_hdr->protocol is a valid string if it succeeds. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30951 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix build due to codecs_path vs. codec_path typo.diego2010-03-232-8/+8
| | | | | | | patch by Erik Auerswald, auerswal unix-ag.uni-kl de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30950 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless def_path variable; use codec_path directly instead.diego2010-03-2310-32/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30949 b3059339-0415-0410-9bf9-f77b7e298cf2
* Real binary loader code should respect the binary codec path.diego2010-03-232-12/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30948 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2010-03-221-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30947 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start probing with a size matching the stream buffer size so it is possiblereimar2010-03-221-2/+4
| | | | | | | to restart without seeking even without cache for easily detectable formats. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30946 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all instances of codec_patch unconditional, otherwiseattila2010-03-212-4/+0
| | | | | | | | | | | compilation will break on systems that do not have win32 dlls enabled. Fixes compilation bug introduced by r30942 10l to the anonymous guy who explains the importance of commit messages and would like to have romance novels in these very messages. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30945 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename SetCodecPath() --> set_codec_path().diego2010-03-214-4/+4
| | | | | | | This keeps the naming of all path-related functions consistent. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30944 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename get_path.[ch] --> path.[ch].diego2010-03-2023-25/+25
| | | | | | | These files now contain different functions related to path handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move SetCodecPath() from loader to get_path.c and make it unconditional.diego2010-03-2013-53/+26
| | | | | | | | This fixes compilation with the Win32 loader disabled but other binary codec loaders enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30942 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with en/mplayer.1 rev. 30936jrash2010-03-201-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary size limits and a related define for hm12 decoder.reimar2010-03-191-7/+0
| | | | | | | Patch by Stephen Warren [swarren nvidia com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30940 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use vd_raw to handle NV12/NV21 formats, since we support them as pixel formatsreimar2010-03-191-4/+4
| | | | | | | there is no need to do any conversion during decoding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30939 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace wrong condition name in #endif comment by correct instance.diego2010-03-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30938 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check whether COMPILE_ALTIVEC is defined, not if it is set to a 0/1 value.diego2010-03-191-1/+1
| | | | | | | COMPILE_ALTIVEC is never set to 1, it is just #defined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30937 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop support for XANIM_MOD_DIR environment variable.diego2010-03-189-51/+0
| | | | | | | | It is now possible to specify alternative codec paths on the comand line. Furthermore, XANIM_MOD_DIR was never properly documented. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30936 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reuse codec path variable used in the binary loader in the XAnim loader.diego2010-03-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30935 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extend the generic path of the yuv2rgb converter with support for rgb444cehoyos2010-03-182-2/+24
| | | | | | | | | output format. Patch by Janusz Krzysztofik, jkrzyszt A tis D icnet D pl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30934 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: indentationaurel2010-03-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30933 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for lavf style extradata in vd_theoraaurel2010-03-181-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30932 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary #ifdefs around harmless loader/codecpath.h #include.diego2010-03-182-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30931 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split codec path related code into a separate file to fix Windows build.reimar2010-03-1810-28/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix first line(s) of vo vdpau documentation.cehoyos2010-03-181-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30929 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix thread safety issue in mreq_private: last_alloc was accessed from multiplesesse2010-03-171-8/+3
| | | | | | | | threads without being under a mutex. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30928 b3059339-0415-0410-9bf9-f77b7e298cf2
* Announce Windows XP SP2 instead of Windows 95 OSR2.sesse2010-03-171-31/+15
| | | | | | | | | | | | | | It's time we move to 2010: Announce Windows XP SP2 to codecs instead of Win95 OSR2. Note: We still don't support the *Ex fields in the version info struct properly (we shouldn't really overwrite the structure size, but rather check it to see if it's safe to fill the extra fields). No codec I've found seems to care. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30927 b3059339-0415-0410-9bf9-f77b7e298cf2
* Announce SMP support for Win32.sesse2010-03-171-7/+0
| | | | | | | | | | | Don't hardcode dwNumberOfProcessors=1 for Win32 anymore; the mutex/event code is still far from perfect, but now good enough that I can't find any codecs that breaks with this (tested on a quad with various codecs). This tells codecs they can use more than one core if they want to (some already did, by launching multiple threads even when told there was only a single core). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30926 b3059339-0415-0410-9bf9-f77b7e298cf2
* Introduce mak_enable function to set variables in config.mak.diego2010-03-171-22/+14
| | | | | | | This avoids manually setting target architecture and CPU extensions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename SGI_MIPS architecture to plain MIPS.diego2010-03-172-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop libavcodec_arch hack; ARCH can now be set directly in config.mak.diego2010-03-171-10/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30923 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lowercase arch and subarch values.diego2010-03-171-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30922 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Drop leading underscore from cpuexts variables.diego2010-03-171-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30921 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make ff_config_enable work with lowercase values.diego2010-03-171-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30920 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split subarch handling off from generic arch handling.diego2010-03-171-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30919 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prefer FFmpeg AAC decoder over libfaad.diego2010-03-171-16/+16
| | | | | | | | This is a tentative change to give the decoder more testing; it can always be reverted in short order if it turns out suboptimal. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30918 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename libopencore AMR decoder entries.diego2010-03-171-2/+2
| | | | | | | FFmpeg now has an AMR-NB decoder, this avoids name clashes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30917 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after FFmpeg r22569 at least for some architectures.cehoyos2010-03-171-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30916 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Drop leading underscores from arch variables.diego2010-03-171-40/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30915 b3059339-0415-0410-9bf9-f77b7e298cf2
* Follow a more proper way to support -codecpath.komh2010-03-175-6/+17
| | | | | | | | | | 1. Include loader/drv.h for SetCodecPath() instead of a declaration of it. 2. Move codec_path from get_path.h to mpcommon.h and mpcommon.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30914 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix return value of InitializeCriticalSectionAndSpinCount.sesse2010-03-161-1/+2
| | | | | | | | | InitializeCriticalSectionAndSpinCount returns a nonzero value on success, and some codecs (notably VP7) seemingly got confused when it didn't, if and only if we tried to emulate NT or newer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30913 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable, fixes the warning:diego2010-03-161-1/+0
| | | | | | | libmpcodecs/vd_qtvideo.c:242: warning: unused variable 'result' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix libmpcodecs/vd_qtvideo.c compilation on OS X:sesse2010-03-161-6/+3
| | | | | | | | - Declare the "result" variable even for native QuickTime. - ExitMovies returns void; don't check its result value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some commented-out debugging and similar cruft.diego2010-03-161-45/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30910 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary forward declarations for a bunch of functions.diego2010-03-161-21/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30909 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Move all functions before main().diego2010-03-161-149/+161
| | | | | | | This will help avoid some forward declarations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30908 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove disabled flip_upside_down function; it has been unused for ages.diego2010-03-161-23/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30907 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary forward declaration of print_wave_header().diego2010-03-161-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30906 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after FFmpeg r22565.cehoyos2010-03-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30905 b3059339-0415-0410-9bf9-f77b7e298cf2
* Calculate width and height in mp4_header_process_vop().cehoyos2010-03-152-0/+9
|