1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
Commit Graph

27490 Commits

Author SHA1 Message Date
michael
1a636fc7f9 Fix 4 and 8 bit RGB/BGR input.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27521 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 20:46:36 +00:00
michael
a42e4e1bd5 Remove workaround for rgb/bgr mess.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27520 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 20:16:41 +00:00
michael
a56ed81a5c Fix 4 of the unscaled rgb15/16 converters, each of these contained
2-3 bugs each of which made it fail completely, this code clearly
has never been tested and been written by somone who knows the
difference between a potato and a computer is that the first is round.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27519 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 19:49:13 +00:00
michael
6dcd5a4e7a rgb vs bgr fix for the unscaled converters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27518 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 19:11:39 +00:00
michael
b8d98f8959 Fix rgb15/16 vs. bgr part2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27517 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 18:24:25 +00:00
michael
b387cc68b6 Fix rgb15/16 vs. bgr part1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27516 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 18:14:29 +00:00
michael
de4a1aae91 Add fflush to prevent stdout & stderr from being mixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 15:13:55 +00:00
aurel
bae94777d7 support E-AC-3 decoding using ffmpeg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27514 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 22:37:50 +00:00
diego
83651c8bfa Remove Windows-specific #ifdefs, the file does not compile on MinGW anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27513 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 22:34:27 +00:00
diego
8e320c91e9 Ignore .exe files on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27512 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 22:27:24 +00:00
diego
3a1d08cf4c Rename --enable-tremor-external option to --enable-tremor along with the
corresponding variables.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27511 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 17:56:02 +00:00
diego
090163c386 Do not refer to libcdio and liblzo as external in the help output.
External libraries are the default, no need to stress this fact.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27510 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 17:48:45 +00:00
diego
808aaf737d Rename --enable-faad-external option to --enable-faad along with the
corresponding variables. This allows simplifying the libfaad check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27509 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 17:46:39 +00:00
diego
9395a0ab96 Initialize _def_faad* variables to disabled before setting them.
This fixes _def_faad_internal never being set when using external libfaad.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27508 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 17:37:15 +00:00
diego
9aea25b96e Fall back on external libfaad check if internal libfaad check failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27507 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 17:32:53 +00:00
diego
0e970b49f0 Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET'
preprocessor condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27506 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 07:35:05 +00:00
diego
788a4d5f91 Move '#define closesocket close' preprocessor directive to a common place
and put it under the proper '#ifndef HAVE_CLOSESOCKET' condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27505 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 07:31:57 +00:00
diego
f27f04a53d Revert moving closesocket definition and network headers to network.h.
This caused lots of trouble on MinGW, we need a different solution.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27504 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 13:59:54 +00:00
diego
133f1f8872 Only use winsock2.h to check for closesocket().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27503 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 13:56:18 +00:00
diego
ef7ea669d0 Fix closesocket test, patch by Serge Levin, serge.levin.spb gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27502 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 13:54:08 +00:00
diego
959c047930 Add necessary #include <stdlib.h> for realloc/calloc/free.
patch by JonY, 10walls gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27501 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 13:05:33 +00:00
reimar
daa3eda91f Remove unused GUID_t definition that also incorrectly defined GUID_DEFINED
(while actually not defining GUID, only GUID_t).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27500 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 11:21:29 +00:00
stefano
e372474088 Change header inclusion guard names in line with FFmpeg r15120.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27499 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 07:42:11 +00:00
rathann
97e5f304ce Rename internal libdvdread fork from dvdread to libdvdread
to avoid clashing with external libdvdread.
(Sync with libdvdread r1122)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27498 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-30 12:22:21 +00:00
reimar
fd75ca0c6a Print DVD volume ID with -identify.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27497 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-30 11:21:11 +00:00
diego
c152b07e66 Move duplicated '#define closesocket close' into network.h along with
network-related #include #ifdeffery.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27496 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 22:55:39 +00:00
diego
2a90e559a9 consistency cosmetics: Avoid using .. in #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27495 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 22:29:27 +00:00
diego
e915d29f0a Sync libdvdcss with upstream version 1.2.10.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27494 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 20:22:36 +00:00
diego
3af860b877 Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.
This is what it is called in FFmpeg and more consistent with other
names for similar conditionals. This fixes a potential compilation
failure on MinGW, as described in Bugzilla #1262.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27493 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 20:05:08 +00:00
stefano
6c30638aa1 Implement swscale_version().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27492 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 18:23:54 +00:00
diego
fea35f288a Remove pointless '#if 1 [...] #endif' around has_cpuid() function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27491 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 17:44:51 +00:00
diego
6556d2c632 Implement check for closesocket(), needed by libavformat, fixes Bugzilla #1257.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27490 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 16:20:35 +00:00
aurel
a5f69284d9 handle the lavfpref demuxer in the same way as the lavf one
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27489 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-27 11:31:53 +00:00
ptt
b5ddaf20ba synced with r27454
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27488 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-27 11:07:15 +00:00
ptt
52d208149f sync'ed to r27071
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27487 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-27 10:58:15 +00:00
diego
159ef5f70e Drop av_always_inline definition. It is duplicated from libavutil and
unlikely to make any difference. This reduces the diff to upstream.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27486 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 22:38:12 +00:00
diego
03337f15ad Rename always_inline macro to av_always_inline so as not to clash with
with __attribute__((always_inline)) declarations.
This fixes the build on Mac OS X 10.4.11.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27485 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 21:29:54 +00:00
aurel
6c675482ff prefer libavformat to demux matroska files
I can't spot any regression anymore. If you find one, please tell me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27484 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 21:12:48 +00:00
reimar
c1751adcc1 Fix forumla -> formula in comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27483 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-26 18:41:04 +00:00
ranma
4445a58fd3 Fix 'cast from pointer to integer of different size' on 64bit architectures. Casting to long should work for 32bit and 64bit and not make a difference to the boolean operation (since 'format' is always 32bit (int) the upper 32bit of 'arg' won't matter, but the compiler should be happy now. Casting both to unsigned makes sure the compiler isn't messing things up by sign-extending 'format' to 64bit before masking)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27482 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-24 13:52:54 +00:00
ranma
7f26ceaa54 Handle AOPLAY_FINAL_CHUNK
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27481 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-24 13:36:04 +00:00
aurel
6d97b19a73 cosmetics: indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27480 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-24 00:08:55 +00:00
aurel
68ac7b23dd use new lavf API to grab sample_aspect_ratio from the demuxers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27479 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-24 00:07:09 +00:00
ranma
d5df440c7f fix compiler warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27478 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-23 08:14:37 +00:00
diego
934670b5ce Remove unused and untested function. It is only part of our local patchset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27477 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 21:35:38 +00:00
diego
984d028cd2 Remove duplicate vsscanf fallback implementation, we have another in osdep/.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27476 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 20:53:44 +00:00
reimar
d54c1f0309 -geometry support for -vo fbdev.
Patch by Sander (thrill12 gmx net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27475 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 17:26:16 +00:00
diego
c2a12149e2 Sync libdvdcss with upstream version r212.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27474 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-21 13:40:16 +00:00
diego
e9e576a0a6 Add support for AAC decoding through FFmpeg; libfaad is preferred for now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27473 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-21 11:00:47 +00:00
diego
96a6782c43 cosmetics: Remove trailing whitespace and tabs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27472 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-21 09:52:47 +00:00