1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
Commit Graph

27551 Commits

Author SHA1 Message Date
diego
5c282f9a49 Remove version information from libmpeg2 vd_info_t struct.
It is available in other places and needs to be updated continuously.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27532 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-06 18:13:44 +00:00
aurel
11d6f1fd2d libass: fix type mismatch between size parameter and the way it's used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27531 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 22:59:01 +00:00
aurel
81058d5af2 libass: add a new ass_process_data() to process demuxed subtitle packets
conforming to the ASS spec


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27530 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 15:07:06 +00:00
aurel
79874cb4ea demux_mkv: output correctly formated ASS packets
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27529 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 14:18:05 +00:00
bcoudurier
244d3d1622 simplify function selection code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27528 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 01:44:33 +00:00
bcoudurier
3178a5606a enable yuv422p to uyvy converter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27527 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-05 00:25:39 +00:00
aurel
6e6692a4ff a valid ASS line contains 9 ',' before actual text
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27526 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 23:36:17 +00:00
aurel
237ae0ac8a lavf: the subtitles display duration is stored in pkt.convergence_duration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27525 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 23:34:27 +00:00
michael
a0d85f9301 Make 16bit grayscale output work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27524 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 22:58:16 +00:00
michael
c1fa10dc7e Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27523 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 22:31:22 +00:00
michael
172a4bfaea Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Fixes issue248.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27522 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-04 21:59:15 +00:00
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