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

30620 Commits

Author SHA1 Message Date
diego
3bc60fcf8e Add missing license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30461 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:49:24 +00:00
diego
07f6ea12e6 cosmetics: Convert DOS linebreaks to Unix linebreaks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30460 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:49:03 +00:00
diego
c87749eae0 license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30459 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:46:26 +00:00
diego
ce3ffd4292 Add standard license header to C tools missing them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30458 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:35:03 +00:00
stefano
c84231c037 Fix randomness of the swscale-test output.
See the thread:
Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertion
Date: Fri, 29 Jan 2010 01:52:23 +0100


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30457 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:31:00 +00:00
diego
1e4bf6639e Add missing license header and multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30456 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:22:24 +00:00
reimar
3bbbb21ada Make the code match the documentation by making higher-quality but slower
audio filtering the default.
This mostly means lavcresample being the default instead of plain "resample".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30455 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 10:09:14 +00:00
reimar
1cf12c2492 Support more qscale types in most post-processing filters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30454 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-29 19:13:07 +00:00
jrash
d1e9785b70 sync with en/mplayer.1 r30436
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30453 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-29 13:54:20 +00:00
reimar
a91702125c Explain why we still disable the ALSA resampler even though it is probably
actually working nowadays.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30452 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-28 18:26:12 +00:00
reimar
2817539ee6 Try the more specific names first for the SwapInterval function to make it less
likely we get an incompatible one.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30451 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-28 18:06:47 +00:00
reimar
6eb02e5c5e glXSwapIntervalEXT is defined to take different arguments from glXSwapIntervalSGI,
so do not try to use it.
Patch by Stephen Warren [swarren nvidia com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30450 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-28 18:01:19 +00:00
diego
1f78fb8889 Fix input/output channel mixup in the pan filter description.
patch by Heikki Rauhala, hvrauhal gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30449 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-28 13:02:46 +00:00
attila
9b6b3ff08c Stopping maintainership for -vo (x)mga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30448 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 22:22:50 +00:00
reimar
1a7b69f7f2 Simplify and correct loop condition, also avoids a compiler warning for unused result.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30447 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 19:45:16 +00:00
reimar
4526f4da65 Fix newline removal code that might read and write out of bounds.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30446 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 19:42:24 +00:00
reimar
d1ec4a57ba Make mp3lib the default MP3 decoder again, it is a good bit faster on
standard desktop hardware.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30445 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 19:15:49 +00:00
reimar
4c211d8851 Declare variable closer to where it is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30444 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 18:23:19 +00:00
reimar
882ce0cd5e Remove a useless global variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30443 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 18:21:27 +00:00
reimar
5f326498f7 Do not needlessly make local variable static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30442 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 18:16:41 +00:00
reimar
051d3210c7 Remove useless initializers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30441 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 18:11:15 +00:00
reimar
01a39f2fc3 Do not needlessly use (file-)global variables.
Since they also were initialized to a value and non-constant (changed
by ALSA) this might actually have caused bugs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30440 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 18:10:07 +00:00
stefano
7be89f904d Rename swscale-example to swscale-test, to better reflect the intended
use of the program.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30439 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-27 00:25:23 +00:00
reimar
cc95355a0a Remove ds_fill_buffer calls from demux_resync, they cause issues at least with
the ASF demuxer (seek seems to end up right after the keyframe?) and seem to have
no purpose anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30438 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-26 21:08:01 +00:00
reimar
b1f3c590c7 Enable parsing for ASF audio streams.
This is necessary to use the ffmp2 decoder with dvr-ms files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30437 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-26 18:19:57 +00:00
reimar
d83fb575cf Add an option to cropdetect to periodically reset the detected area.
Patch by [quetschke scytek de] with modifications by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30436 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-26 18:15:58 +00:00
michael
156399b7aa Use isAnyRGB() where possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30435 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-26 08:03:28 +00:00
michael
60b76a958f Add 3 more RGB makros that allow specifying RGB in bytes and any rgb/bgr.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30434 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-26 08:01:50 +00:00
michael
378e6bf192 Rename isRGB() and isBGR() as their meaning is confusing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30433 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-26 07:40:14 +00:00
stefano
2cded4ef2c Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightly
simplify code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30432 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-25 22:46:09 +00:00
stefano
196fea8c3b Fix mis-computation of the needsDither variable erroneously introduced
in r30419, which was causing a swscale-example regression.

Also increase my liter count by 20.0 units.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30431 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 21:28:17 +00:00
reimar
0f4d83ce51 Use av_malloc to ensure sufficient alignment and also free at least some
of the allocated memory.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30430 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 21:15:43 +00:00
reimar
2e50d88ab2 If audio was identified as DTS in the PMT do not override that with TrueHD
based only on substream id.
Works with all available DTS and TrueHD samples available (2 each).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30429 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 20:54:17 +00:00
reimar
fb8c6688c9 Fail ad_pcm initialization of WAVEFORMATEX header is missing instead of crashing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30428 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 20:46:26 +00:00
reimar
b8b5fe5570 Add support for parsing MLP and TrueHD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30427 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 20:05:28 +00:00
cehoyos
61fad6af42 Revert the xvmc part of r30422: VCR2 at least worked with xvmc at some point.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30426 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 19:50:27 +00:00
stefano
2e0a4996e3 Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30425 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 17:44:43 +00:00
reimar
632a899a22 Add forgotten declaration of ds_clear_parser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30424 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 17:05:53 +00:00
reimar
644f2b33ec Remove now unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30423 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 16:38:46 +00:00
cehoyos
f712f0ee96 VCR2 fails for mpeg12, decodes incorrectly (and cannot be fixed) for
VDPAU, and I doubt it works for XVMC or mpegpes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30422 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 16:06:41 +00:00
reimar
573a57de1c Reset the parser on seek. Should fix some cases of audio "blips" after seeking.
AC3 is still broken due to the libavcodec parser being broken.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30421 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 15:19:14 +00:00
reimar
71dcc053fe Move the resync-related code into more consistent places instead of having it
scattered all over the place with half of it forgotten in some places.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30420 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 15:16:39 +00:00
stefano
213092c8dc Use av_get_bits_per_pixel() for computing the bits per pixel of the
source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30419 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 12:55:05 +00:00
reimar
4b2e107710 Fix ftp support to properly support large files > 2GB.
Patch by Yuriy Kaminskiy [yumkam mail ru]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30418 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 10:13:33 +00:00
Gabrov
f5209d8cc4 new year in version string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30417 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:21:18 +00:00
Gabrov
0d4517c688 typo fix, accidently reverted the new year patch with previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30416 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:19:47 +00:00
Gabrov
4d300c9056 synced with r30414
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30415 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:16:13 +00:00
Gabrov
e61e9b0b8a big new year patch for documentations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30414 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:15:18 +00:00
ramiro
c9c95b9046 Indent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30413 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:02:40 +00:00
ramiro
0ae7ed631b Don't redefine M_PI. It is already defined from libavutil/mathematics.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30412 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 02:16:26 +00:00