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

31732 Commits

Author SHA1 Message Date
diego
f8a9b4e17a Revert marking m_option struct member as const.
It is used for non-const things, so the original change was wrong.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30996 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-04 15:57:17 +00:00
reimar
22f6170009 Share more code between the two ATI fragment shader YUV to RGB
conversion methods and extend them to support more accurate
conversion (though at the cost of some speed).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30995 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-04 11:45:05 +00:00
reimar
4a8486f844 Try to detect and work around broken glXGetProcAddress on at
least PPC OS X 10.4.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30994 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 20:31:03 +00:00
reimar
269b96d75e Implement OpenGL-based YUV to RGB version for Radeon 9200 class
cards on OS X.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30993 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 19:58:06 +00:00
diego
c7cdd996f5 Remove commented-out #include of a non-existing file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30992 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 14:40:08 +00:00
diego
ff93cd656b Add a header for x264enc_set_param() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30991 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 14:20:34 +00:00
diego
8b4b82d008 Remove pointless #ifdef CONFIG_LIBAVCODEC preprocessor check.
The file is only compiled if that condition is true.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30990 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 13:51:14 +00:00
diego
e7a1dbc122 Mark m_option struct member as const.
This fixes many warnings similar to:
cfg-mplayer.h:368: warning: initialization discards qualifiers from pointer target type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30989 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 11:06:57 +00:00
reimar
0c6b8880ce Indentation fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30988 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 07:12:32 +00:00
reimar
2cebf8eeb7 Add mpgl prefix to all OpenGL-related function pointers.
This is necessary because at least the GetString symbol
causes clashes on PPC OSX 10.4, causing -vo gl to always
crash.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30987 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-03 07:08:07 +00:00
attila
0a49e5e96c dont mention base64 about sending attachments.
this may (and has) confused people, beside
that 99.9% of all MUA will do the right thing
here anyways.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30986 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-02 17:29:22 +00:00
cehoyos
103ca0c902 Cosmetics: Fix indentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30985 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-02 10:13:45 +00:00
cehoyos
1468d39b01 Do not try -march=native for icc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30984 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-02 10:13:08 +00:00
reimar
fd6ce85192 Change type to uint8_t to avoid checks depending on char signedness.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30983 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-02 07:14:21 +00:00
ptt
a300074bd2 updated example line for encoding to psp (acodec faac is now libfaac)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30982 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-01 17:37:51 +00:00
ptt
fa1069902c updated table of libavcodec's audio codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30981 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-01 17:37:13 +00:00
Uoti Urpala
97db8519c8 build: create and install .mo translation files
If --enable-translation was specified to configure, build and install
.mo files for the selected message language(s). The languages enabled
can be chosen with the --language-msg option; by default all available
ones will be installed. The .po source files for available languages
are seached under the po/ subdirectory; at the moment that
subdirectory is not included in the sources so no languages will be
enabled unless you add the actual translations before running
configure.

The .mo files are created in the locale/ subdirectory when compiling.
By default MPlayer will only look for them in the installed location,
so the newly compiled .mo files will not be found if you run MPlayer
without installing. You can set the MPLAYER_LOCALEDIR environment
variable to point to the locale/ directory to test the translations
without installing.
2010-04-01 13:09:32 +03:00
reimar
006c481c1e Sanitize ICY metadata a bit before printing it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30980 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-31 19:42:15 +00:00
reimar
c800858e60 Make audio switching with AVI demuxer chose the first audio stream
if audio is disabled instead of ignoring the request.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30979 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-31 18:45:00 +00:00
reimar
e969acde38 Replace some "m" constraints by MANGLE to avoid issues with some compilers not
being able to compile it and deduplicate the code at the same time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30978 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-31 17:00:33 +00:00
attila
0b37836e8c rename eatgv -> ffeatgv, lpcm -> fflpcm
for consitently naming all ffmpeg codecs

requested by compn


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30977 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-31 06:33:08 +00:00
diego
ceaa91f0a1 Add HAVE_STRERROR_R definition for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30976 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-28 19:02:58 +00:00
diego
86641ee41e Use (void) instead of () to indicate a parameterless function, fixes:
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
2010-03-28 16:58:27 +00:00
diego
a7b500e6ff Add definition of CONFIG_LIBRTMP to config.h for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30974 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-28 16:49:23 +00:00
reimar
7a82111f82 Fix compilation after librtmp support in FFmpeg.
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
2010-03-28 16:31:17 +00:00
reimar
91ec3ae682 Fix crash with incomplete yuv2 frames.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30972 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-28 00:08:28 +00:00
reimar
55089a3986 Leave disabling SSE to the check_os_katmai_support always regardless of OS,
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
2010-03-27 19:45:59 +00:00
reimar
67dcbed681 Support concatenated YUV4MPEG files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30970 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-27 16:01:22 +00:00
reimar
ce67a0caf7 Use calloc instead of malloc+memset
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30969 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-27 15:35:59 +00:00
reimar
1641daf014 Add const to some video_out extern declarations to match their definitions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30968 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-27 15:27:16 +00:00
reimar
38abe6ff7a Mark some more LIBVO_EXTERN declarations as const where possible.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30967 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-27 15:22:47 +00:00
reimar
df61424414 100l, fix frametime calculation for MPEG-2 files with frame rate extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30966 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-27 12:47:26 +00:00
diego
28ff7246a0 libswscale: Relicense almost all x86 assembler optimizations as LGPL.
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
2010-03-27 11:31:02 +00:00
diego
3e7a2bd8c3 Refactor OS X foreground process setting into a separate function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30964 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-26 15:02:14 +00:00
diego
85640449d2 cosmetics: Break some overly long lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30963 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-26 12:12:25 +00:00
diego
a8a34f32a1 Convert asm keyword to __asm__.
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
2010-03-26 08:13:10 +00:00
diego
a6e3a9ff23 HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30961 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-26 07:57:54 +00:00
diego
f72822d9e6 Remove unused OPTFLAGS variable from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30960 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-25 19:53:05 +00:00
diego
a36308f42d Remove unused MACOSX_BUNDLE config.mak entry.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30959 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-25 18:53:37 +00:00
diego
9d38fc0678 Move some FFmpeg-specific entries to the FFmpeg section of config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30958 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-25 18:51:57 +00:00
sesse
af6fb3740e Don't try to delete the global memory mutex in the Win32 loader code,
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
2010-03-25 12:58:41 +00:00
diego
a630204d0a Mark add_subtitles() as static, it is not used outside the file, fixes:
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
2010-03-24 20:43:41 +00:00
diego
b78d83301a Remove /usr[/local]/lib/win32 from the list of Win32 codec search paths.
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
2010-03-24 01:07:11 +00:00
diego
1b58868670 AltiVec implies a PPC CPU, so there is no need to check for both.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30954 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-23 22:59:14 +00:00
diego
983b920137 loader: Remove commented-out extra_ld_library_path cruft.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30953 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-23 20:24:14 +00:00
diego
5b7bffa713 Do not compile AltiVec code when AltiVec is not available; not even in
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
2010-03-23 20:12:52 +00:00
reimar
f76e141402 Make http_read_response fail if parsing the response failed.
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
2010-03-23 19:45:33 +00:00
diego
db734715dc Fix build due to codecs_path vs. codec_path typo.
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
2010-03-23 19:40:37 +00:00
diego
5e480c7b81 Get rid of pointless def_path variable; use codec_path directly instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30949 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-23 18:01:00 +00:00
diego
cb26eaf0bb Real binary loader code should respect the binary codec path.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30948 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-23 17:52:46 +00:00