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

25343 Commits

Author SHA1 Message Date
diego
a6cf8a908c Replace SYS_DARWIN by __APPLE__ and __DARWIN__ where appropriate.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25370 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 23:52:55 +00:00
diego
d1198fab82 Add missing #include <stdio.h>, fixes the warning:
dct64_altivec.c: In function 'dct64_altivec':
dct64_altivec.c:74: warning: implicit declaration of function 'printf'
dct64_altivec.c:74: warning: incompatible implicit declaration of built-in function 'printf'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25369 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 23:25:36 +00:00
diego
cb80e1a797 support for xtensa CPU architecture
patch by Dan Nicolaescu (dann ics.uci edu), Reimar and me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25368 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 22:37:36 +00:00
diego
472727ba1f Slightly simplify preprocessor conditionals.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25367 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 22:31:57 +00:00
diego
796a0db35c Ahem, fix breakage of last commit: The AltiVec detection code has three
sections, namely OS X, AMIGAOS4 and the rest.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25366 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 22:29:22 +00:00
ben
f5f37dc414 allow osd menu being controlled by joystick
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25365 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 21:58:42 +00:00
diego
d94954cfe6 Do not set SYS_AMIGAOS4, it is unused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25364 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:40:34 +00:00
diego
7596a9ad27 SYS_AMIGAOS4 --> __AMIGAOS4__
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25363 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:39:18 +00:00
diego
7254bc5f27 slight consistency change for default DVD device selection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25362 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:36:33 +00:00
diego
0e1a34ae70 Remove redundant condition from list of CD/DVD-ROM devices.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25361 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:33:56 +00:00
diego
e1718645bd Do not set -DSYS_DARWIN, it is unused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25360 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:32:50 +00:00
diego
3bd46271d4 Replace SYS_DARWIN condition by __APPLE__ || __DARWIN__.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25359 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:32:21 +00:00
diego
75b15d9634 Remove redundant and obfuscating preprocessor conditional.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25358 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:30:30 +00:00
diego
a67cf40cfc Replace SYS_DARWIN conditional by the more correct __APPLE__.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25357 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:27:13 +00:00
diego
24af96f8cc There is a check for altivec.h in configure so use the preprocessor directive
set by configure instead of an OS-specific directive when #including altivec.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:16:00 +00:00
diego
17981e0ab6 Replace SYS_DARWIN conditional directive around gcc macros by __APPLE_CC__.
The macro definition depends on compiler capabilities, not OS features.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 20:07:18 +00:00
reimar
b5fa2f008a Make init_video function in dec_video static, it is not used outside that file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25354 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 19:56:40 +00:00
diego
0febd8cf0f Identifiers starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25353 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 19:54:35 +00:00
diego
2912d9ee57 Remove pointless HAVE_ALTIVEC around the whole file, it is only compiled when
HAVE_ALTIVEC is set anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25352 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 19:52:17 +00:00
diego
222ea2c463 Relicense as GPL v2 or later like the rest of liba52.
Permission given by Nick Kurshev.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25351 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 14:53:14 +00:00
ulion
4c6a12e619 Fix spudec to display current vobsub immediately after a seek.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25350 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 10:12:58 +00:00
ulion
8f363e73d7 Make up missing changelog for dts wav support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25349 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 08:17:49 +00:00
ulion
eb7b516694 Support to run multiple mplayer commands set in menu.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25348 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 08:11:21 +00:00
ulion
38473dd468 Add new function for parsing and queueing multi-commands separated by \n or \r.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25347 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 08:03:47 +00:00
compn
149fd4dac7 some changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25346 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 21:33:22 +00:00
ben
3e23146dc8 Fixed VIDIX color bug that was introduced when Radeon VIDIX driver
was synchronized with vidix.sf.net.
The red color was saturating.
Corrected value fixes the issue and restore the color to the level
it used to have before synchronization.
Meaning of the value remains unknow but was retrieved from
register's value of a Radeon 9000 card, so it may need further testing.
Patch by Guillaume Lecerf (foxcore at gmail dot com)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25345 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 19:27:46 +00:00
ben
c5ba1bf7e3 Dump the ati radeon DISP_MERGE_CNTL register to ease the
debugging of VIDIX color bug.
Patch by Guillaume Lecerf (foxcore at gmail dot com)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25344 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 19:13:54 +00:00
ulion
1ed6e96cfb Fix all current known multi-channel wrong order problems by adding
common functions for channel reordering.
This fixes these modules by adding channel reordering code for 5.0/5.1 audio:
ao: pcm
ad: dmo, faad, ffmpeg(ac3, dca, libfaad, liba52), pcm
ae: faac, lavc(ac3, libfaac), pcm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25343 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 16:53:30 +00:00
ulion
24dafeee09 Fix memory leak that tmp allocated but maybe not used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25342 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 14:43:09 +00:00
diego
8c0a903ccb Fix printf format string length modifiers, removes about a trillion warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25341 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 14:39:19 +00:00
diego
0cfa7f03f7 Comment out unused variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25340 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 14:13:34 +00:00
ulion
03607113cb Fix mylstat() call to parent dir where the subdir has no exec permission.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25339 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 14:12:40 +00:00
diego
f059a5570e Remove unused parameters from main(), fixes the warnings:
netstream.c:340: warning: unused parameter 'argc'
netstream.c:340: warning: unused parameter 'argv'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25338 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 13:18:27 +00:00
diego
d123fad2bd Fix printf format string length modifiers, removes the warnings:
vivodump.c:213: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'long int'
vivodump.c:220: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'long int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25337 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 13:16:10 +00:00
diego
0822727933 Fix printf format string length modifiers, removes the warnings:
asfinfo.c: In function 'print_wave_header':
asfinfo.c:114: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:115: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c: In function 'print_video_header':
asfinfo.c:140: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:141: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:142: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:145: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:146: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c: In function 'main':
asfinfo.c:174: warning: format '%X' expects type 'unsigned int', but argument 2 has type 'long int'
asfinfo.c:220: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25336 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 13:11:26 +00:00
diego
48d0044bce spelling/grammar/wording/formatting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25335 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 12:35:28 +00:00
ulion
0fe9266445 Fix my wrong code in r25530.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25334 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 11:08:27 +00:00
ulion
8058d953af Make up missing header update in r25326.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25333 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 10:27:14 +00:00
ulion
ef37a3be9c Move temp variable declaration into inner loop scope.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25332 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 04:37:26 +00:00
ulion
5319009dfe Ignore heading spaces when parsing command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25331 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 01:46:02 +00:00
ulion
920a892892 Fix missing command line bug by making the input parameter constant.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25330 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 01:43:33 +00:00
nicodvb
3b05fa9631 associate mpeg12 ffourccs to vc_mpegpes (fixes playback with hw mpeg12 decoders and demux_lavf)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25329 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-09 21:44:50 +00:00
ulion
7607259ea4 Combine common code for dealing with file action and dir action.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25328 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-09 10:32:05 +00:00
ulion
af43903635 Use recorded last path only when stat it ok.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25327 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-09 07:50:37 +00:00
ulion
6e9b19642a Convert vobsub custom colors from rgb to yuv using a common function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25326 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-09 06:58:57 +00:00
ben
486e5b2c2b identifiers starting with an underscore are reserved by the C standard
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25325 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 23:21:08 +00:00
nicodvb
358717114f removed stupid checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25324 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 18:16:02 +00:00
ben
b4052eae79 rework of libmenu open_dir()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 16:27:25 +00:00
ulion
3942e8143b Remove useless include added in last commit by mistake.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25322 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 14:19:12 +00:00
cehoyos
78bd23dd5a Allow usage of icc 10.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25321 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 12:55:10 +00:00