summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | Fixes elementary streams with -vc ffodivxvdpau and the native demuxer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30904 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix value of bit counter at end of functions to prepare for future patches.cehoyos2010-03-151-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30903 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indentation in GetVersionExW.sesse2010-03-151-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30902 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for Apple's ProRes and AIC codecs, now that all prerequisitessesse2010-03-152-0/+21
| | | | | | | | | | | | | | | are in place. Add codecs.conf entry for both codecs, and qt_comp.h entry for ProRes (not used except for debugging, so mainly for completeness). Both work with -demuxer mov only, as all other QuickTime binary codecs. AIC support is for OS X only, and untested. Split out from a patch Andrew Wason (r e c t a l o g i c <at> rectalogic <dot> com) posted in June. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30901 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement GetVersionExW with the same data as GetVersionExA but taking in asesse2010-03-151-0/+67
| | | | | | | | different structure, and CreateMutexW, CreateEventW and CreateSemaphoreW as simple wrappers around the A versions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30900 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the high-level QuickTime decoding APIs (DecompressSequenceFrameS andsesse2010-03-152-224/+95
| | | | | | | | | | | | | | | | | | | | | | | | friends) instead of the unsupported, internal ones (ImageCodecBeginBand etc.). This is a prerequisite for, among others, Apple ProRes 4:2:2 support, and simplifies the file by quite a bit. Tested on Linux with all existing QuickTime codecs I could get to work in the first place; qt261, qtavui, qtsvq3 have no change. qtcvid appears to not give bit-exact the same output as before, but it looks just the same in playback to me. qt3ivx stops crashing on exit (so works better than before). With some extra patches and a codecs.conf entry, ProRes 4:2:2 also works, including on Linux. Since codec initialization is now actually done on decoder init instead of on first frame, fallback should also work a bit better (although usually, qtvideo is last in the chain). Also made the decoder complain explicitly if the demuxer data is not there (ie., the user tried to run without -demuxer mov). This patch is a cleaned up version of what Andrew Wason (rectalogic A rectalogic D com) posted to mplayer-dev-eng in June. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30899 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relocate -codecpath description in alphabetical order.komh2010-03-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30898 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -codecpath option.komh2010-03-155-0/+23
| | | | | | | | It allows to search binary codecs in non-standard directories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30897 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add CONFIG_DCT and CONFIG_DWT to config.h as well as to config.mak for FFmpeg.diego2010-03-151-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30896 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless tmppath variable in set_path_env().diego2010-03-141-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30895 b3059339-0415-0410-9bf9-f77b7e298cf2
* variable renaming cosmetics: _have_yasm --> have_yasmdiego2010-03-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30894 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused MMX_FFT Makefile variable.diego2010-03-141-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30893 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Simplify _codecsdir setting for MinGW and OS/2.diego2010-03-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -Wstrict-prototypes to CFLAGS.diego2010-03-141-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use menu instead of GUI as example for an internal feature turned on by a flag.diego2010-03-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30890 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after FFmpeg r22522.cehoyos2010-03-141-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace separate Win32, XAnim and Real codec directories by one global dir.diego2010-03-147-55/+17
| | | | | | | | | Nowadays MPlayer does not use the codecs from other installed programs. A runtime setting will soon take over the rare case that binary codecs should be searched for in non-standard directories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30888 b3059339-0415-0410-9bf9-f77b7e298cf2
* fftheora supports 4:2:2 and 4:4:4 nowconrad2010-03-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30887 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with en/mplayer.1 rev. 30868jrash2010-03-131-1/+82
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30886 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the 0xA109 format for speex, it is claimed to be officially registered (havereimar2010-03-121-0/+1
| | | | | | | not verified). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30885 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support extradata format of the speex.acm windows codec formerly availablereimar2010-03-121-0/+24
| | | | | | | from openacm.org. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash if speex_packet_to_header fails.reimar2010-03-121-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add newlines to generated fragment program to make both fragment program dumpreimar2010-03-121-117/+117
| | | | | | | with -v more readable and compiler error message more understandable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30882 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include libavutil/avutil.h for FFMINkomh2010-03-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30881 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include osdep/osdep.h instead of checking a platfrom specific macro to includekomh2010-03-101-3/+2
| | | | | | | a platform specific header. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return MP_NOPTS_VALUE if we can't figure out the pts, not 0.reimar2010-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30879 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve handling of 0-size ogg packets.reimar2010-03-091-1/+2
| | | | | | | Fixes bug 1664. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30878 b3059339-0415-0410-9bf9-f77b7e298cf2
* unbreak compilation after cleanups in libavutil/common.hsiretart2010-03-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix alpabetical order.cehoyos2010-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30876 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support SEGA CRI adx codec with demuxer lavf.cehoyos2010-03-092-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30875 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a syntax error in graph.h.sesse2010-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30874 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add copyright headers.sesse2010-03-092-0/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30873 b3059339-0415-0410-9bf9-f77b7e298cf2
* Style changes as requested by Diego.sesse2010-03-092-38/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30872 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix help text for --disable-win32dll.cehoyos2010-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30871 b3059339-0415-0410-9bf9-f77b7e298cf2
* Commit files by Steinar Gunderson, forgotten in r30866.cehoyos2010-03-092-0/+184
| | | | | | | Fixes compilation on x86-32. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation on powerpc with --disable-altivecsiretart2010-03-091-2/+2
| | | | | | | | | in case altivec is disabled, even compilation of code using altivec keywords or asm must be avoided. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30869 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document x264 VUI options.corey2010-03-091-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a note about what x264's 'aud' parameter is for.corey2010-03-091-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30867 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement DirectShow filter graph.sesse2010-03-086-4/+46
| | | | | | | | | | DirectShow specifies that a filter (codec) can expect JoinFilterGraph to be called, and store a reference to the graph manager. Implement a very bare-bones graph manager (all functions are stubs, and no extra interfaces are implemented) and give it to the codec on init. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct QuickTime dpi output.sesse2010-03-081-2/+2
| | | | | | | | The dpi value for QuickTime codecs is stored as Fixed16 (16.16 fixed-point), not int. Correct the output value accordingly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30865 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for allocation failure for c->lumMmx2FilterCode and c->chrMmx2FilterCode.reimar2010-03-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30864 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memleak due to incorrect VirtualFree arguments: size must be 0 for ↵reimar2010-03-081-2/+2
| | | | | | MEM_RELEASE. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30863 b3059339-0415-0410-9bf9-f77b7e298cf2
* We have some sort of DVD menu support nowadays.diego2010-03-081-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30862 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement ResumeThread and SignalObjectAndWait.sesse2010-03-081-0/+31
| | | | | | | | | Relatively simplistic implementations of ResumeThread (stub) and SignalObjectAndWait (bAlertable is ignored). Both are needed for ProRes 4:2:2 support on Linux. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30861 b3059339-0415-0410-9bf9-f77b7e298cf2
* Increase mplayer buffer padding size to match the new one from ffmpeg.iive2010-03-071-1/+1
| | | | | | | Allows compilation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30860 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use FBIOPAN_DISPLAY for switching between pages, seems to work for morereimar2010-03-071-1/+1
| | | | | | | drivers and can be much faster. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add double-buffering support to vo_fbdev.reimar2010-03-071-3/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use int64_t instead of long for variable containing current playback time.reimar2010-03-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30857 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid duplication of usePal() macro.stefano2010-03-063-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30856 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support to BGR444/RGB444 foreign endian output in libswscale.stefano2010-03-062-4/+12
| | | | | | Patch by Janusz Krzysztofik |jkrzyszt ^ tis icnet pl|. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30855 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix QuickTime emulated OSErr type.sesse2010-03-063-8/+8
| | | | | | | | | | | | The OSErr type on Mac OS X is int16_t, not int32_t (see http://developer.apple.com/mac/library/documentation/QuickTime/Reference/QTRef_DataTypes/Reference/reference.html). The upper 16 bits will typically be something random (they're entirely undefined). Change the type so it's right; a few places tried to compensate for this by masking out the upper bits, but a few places also missed them, which made for unpredictable behavior. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30854 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement Win32 mutexes.sesse2010-03-061-27/+99
| | | | | | | | | | | | | | | | Implement Win32 mutexes; they used to just be mapped on top of events, which is not the same thing at all. The implementation is pretty much the obvious one, similar to the current critical section implementation and the semaphore implementation; a single lock count protected by a pthread mutex, and an event lockers can sleep on to know when the mutex is available. Also make CreateMutexA and ReleaseMutex available even if QuickTime codecs support is not configured. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30853 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix semaphore behavior in WaitForSingleObject.sesse2010-03-061-1/+2
| | | | | | | | | | | | | Two simple bugfixes for semaphores in WaitForSingleObject: First, semaphore count should be decreased on loading the semaphore, not increased. The case for duration=0 had this wrong (duration=-1 was fine). Second, the code for duration=-1 forgot to set the return value, so it would always return WAIT_FAILED. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30852 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make Win32 mutex and thread linked lists thread safe.sesse2010-03-061-5/+31
| | | | | | | | | | | | loader/win32.c contains a global linked list of all existing mutexes (whose head is called mlist), which is accessed from multiple threads, and as such needs to be protected by a mutex. Fixed. Same thing for the global linked list of all existing threads, whose head is called list. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30851 b3059339-0415-0410-9bf9-f77b7e298cf2
* Define O_BINARY in stream/stream.h unless it is defined yet, and use itkomh2010-03-064-10/+5
| | | | | | | | | | | in other places. This removes platform specific checks and prevents repeated definitions of O_BINARY. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30850 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable ASS/SSA subtitle support in mencodergreg2010-03-055-20/+291
| | | | | | | | | | | Enable ASS/SSA rendering through libass in mencoder. This duplicates a bit of code (to parse font attachments, for example). Additionally, add a filter "fixpts" that generates PTS, simulating fixed fps. PTS generated by this filter are then used for subtitle timing. Original patch by Nicolas George. (nicolas.george normalesup.org) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30849 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make GetModuleHandle(NULL) return a valid pointer.sesse2010-03-051-5/+19
| |