1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
Commit Graph

26150 Commits

Author SHA1 Message Date
ben
dfc775a923 fix bad function prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26131 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:06:21 +00:00
ben
b37e883a3d Remove now deprecated Savage VIDIX driver sources
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26130 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:04:03 +00:00
ben
c6d4298b7b Use MPlayer consistent define naming convention for newly introduce
S3 registers header file.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26129 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:02:37 +00:00
ben
094daed554 New S3 VIDIX driver.
Provides support for S3 Trio and S3 Virge chipsets.
This deprecates the old Savage driver that worked with latest chips only.
(synchronized with vidix.sf.net r326 and r327)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26128 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:01:28 +00:00
eugeni
bb006c761a Add missing #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26127 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:44:54 +00:00
eugeni
36277e690e Support switching to/from nosound in demux_lavf.
Also fixes a bug when pstreams[-1] could be accessed. It happens when
switching audio tracks if mplayer was run with '-nosound'.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26126 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:57 +00:00
eugeni
522ee6b783 Remove unused function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26125 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:55 +00:00
eugeni
0700038406 Reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26124 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:54 +00:00
eugeni
439cfd5d9e Don't select audio stream in lavf and mkv demuxers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26123 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:52 +00:00
eugeni
22465e56cc Select audio stream in mplayer and mencoder, overriding demuxer decision.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26122 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:50 +00:00
eugeni
377d745ae9 Set audio->sh correctly when switching audio tracks. The same for video tracks.
Demuxers almost never update audio->sh or sub->sh when swithing tracks. It is
especially bad when switching to no sound, and results in "too many audio
packets" error.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26121 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:48 +00:00
eugeni
c85a382afa Don't select subtitle track in lavf and mkv demuxers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26120 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:47 +00:00
eugeni
96b0752265 Demuxer-independent subtitle track selection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26119 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:44 +00:00
eugeni
2c8e65329f Demuxer-independent functions for selecting tracks based on language.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26118 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:43 +00:00
eugeni
579e353b0f Remove stupid checks of free() argument.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26117 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:41 +00:00
eugeni
a2fad60c7f Fill sh_sub_t.lang in lavf, mkv and ogg demuxers. Use it for printing subtitle
track language.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26116 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:39 +00:00
eugeni
18fea2aa49 Fill sh_audio_t.lang in lavf and mkv demuxers. Use it for printing audio track
language when available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26115 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:37 +00:00
eugeni
85a8aa6f8e Add language info to sh_sub_t and sh_audio_t.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26114 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 17:25:33 +00:00
reimar
576e184411 Attempt to fix -chapter broken for mkv in r25987
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26113 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-28 19:41:40 +00:00
diego
a21190b9d3 joystick.c is only ever compiled on Linux, remove pointless #ifdef
around the whole file and dummy functions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26112 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-28 18:32:17 +00:00
diego
090df4eaa6 TARGET_OS2 is never set, use __OS2__ instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26111 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-28 18:31:35 +00:00
diego
aeb2ece331 Use _res_comment in joystick check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26110 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-28 18:19:10 +00:00
diego
23defac730 cache support for OS/2
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26109 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-28 16:35:47 +00:00
diego
effb6040ee mmap() support for OS/2
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26108 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-27 22:29:52 +00:00
reimar
99a840529a Mention nvidia fix for vo gl and especially changed screensaver support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26107 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 23:52:44 +00:00
diego
d1e5f8e31a Default to disabling VIDIX on platforms where it is not known to work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26106 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 23:24:53 +00:00
mru
8d1529b2fe less preprocessor magic in version number macros
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26105 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 20:38:02 +00:00
uau
6d9f52dac0 configure: define ENABLE_ENCODERS for FFmpeg
Compilation was broken as FFmpeg's dsputil_mmx.c now (ab)uses this
variable. Fix by adding "#define ENABLE_ENCODERS 1" to generated
config.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26104 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 05:18:56 +00:00
nicodvb
e063c10ea9 in ds_fill_buffer() disabled the code that demuxes until the arrival of the right reference_clock
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26103 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 22:29:45 +00:00
compn
6b9a3bc1a4 sun rasterfile decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26102 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 18:30:02 +00:00
diego
21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego
9c30916c7a 10l: Revert nonsense commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26100 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:45:55 +00:00
diego
c214df59db Fix outdated comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26099 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:43:52 +00:00
diego
12c19f3c9d Remove old EMU_OLD cruft.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26098 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:42:26 +00:00
mru
635e6bf7c3 #include "libavutil/avutil.h" in swscale.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26097 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:24:33 +00:00
diego
ae66c7536e Replace silly check for config.h inclusion, just include it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26096 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 23:44:35 +00:00
diego
7c631d4bea Disable internal VIDIX on OS/2, patch by Dave Yeo, dave.r.yeo gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26095 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 22:41:39 +00:00
diego
8c514af56c Wrap HAVE_XXX macros with RUNTIME_CPUDETECT, because when RUNTIME_CPUDETECT is
enabled, checking HAVE_XXX and disabling that CPU feature is meaningless.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26094 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 18:21:41 +00:00
diego
0044fb7a38 Enable SSE detection on OS/2.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26093 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 18:09:28 +00:00
diego
b824af715e cosmetics: Break one unreadable long line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26092 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 18:04:34 +00:00
reimar
4825a2ee81 __asm __volatile -> asm volatile part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26091 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 14:59:16 +00:00
reimar
f8fe49b504 Compile codec-cfg binary with -O, avoids problems due to compilers
not being well tested with optimizations disabled (e.g. ICC 10.1.008
generates a non-existing "rorw $8, %st(7)" instruction).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26090 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 13:04:29 +00:00
diego
6063301513 Add MPLAYER_ prefix to multiple inclusion guard of generated file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26089 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:53:11 +00:00
diego
160b9e62dc On OS/2, fall back on the directory where MPlayer is installed if both
MPLAYER_HOME and HOME are not set.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26088 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:41:51 +00:00
diego
1cd1c92fb7 On Win32 and OS/2, 'x:filename' path style without '\' path separator
is possible as well as 'x:\dir\filename' style. So we should check ':'
unless '\' is found.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26087 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:40:30 +00:00
diego
c9836ea2b0 Add missing #includes for Mac OS X, fixes the warning
ldt_keeper.c:243: warning: implicit declaration of function i386_set_ldt
patch by Elias Pipping, elias pipping org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26086 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:18:01 +00:00
diego
4bf51158a9 Add #include <sys/sysctl.h> for Mac OS X, fixes the warning
cpudetect.c:344: warning: implicit declaration of function sysctlbyname
patch by Elias Pipping, elias pipping org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:05:20 +00:00
reimar
4328410143 Do not use a global temps variable, this is ugly and does not compile with ICC.
Place them on the stack instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26084 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:39:35 +00:00
reimar
bafdcd542d Avoid a pointless special-case for opening a file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26083 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:21:27 +00:00
reimar
7738b457bc Get rid of pointless and confusing comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26082 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:19:55 +00:00