summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make mp3lib the default MP3 decoder again, it is a good bit faster onreimar2010-01-271-14/+17
| | | | | | | standard desktop hardware. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30445 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare variable closer to where it is used.reimar2010-01-271-9/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30444 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a useless global variable.reimar2010-01-271-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not needlessly make local variable static.reimar2010-01-271-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30442 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless initializers.reimar2010-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not needlessly use (file-)global variables.reimar2010-01-271-4/+3
| | | | | | | | 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
* Rename swscale-example to swscale-test, to better reflect the intendedstefano2010-01-272-2/+1
| | | | | | | use of the program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30439 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ds_fill_buffer calls from demux_resync, they cause issues at least withreimar2010-01-261-2/+5
| | | | | | | | 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
* Enable parsing for ASF audio streams.reimar2010-01-261-0/+1
| | | | | | | 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
* Add an option to cropdetect to periodically reset the detected area.reimar2010-01-262-5/+24
| | | | | | | Patch by [quetschke scytek de] with modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use isAnyRGB() where possiblemichael2010-01-263-13/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30435 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add 3 more RGB makros that allow specifying RGB in bytes and any rgb/bgr.michael2010-01-261-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename isRGB() and isBGR() as their meaning is confusing.michael2010-01-264-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30433 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightlystefano2010-01-251-2/+0
| | | | | | | simplify code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30432 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mis-computation of the needsDither variable erroneously introducedstefano2010-01-241-1/+1
| | | | | | | | | 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
* Use av_malloc to ensure sufficient alignment and also free at least somereimar2010-01-241-1/+2
| | | | | | | of the allocated memory. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30430 b3059339-0415-0410-9bf9-f77b7e298cf2
* If audio was identified as DTS in the PMT do not override that with TrueHDreimar2010-01-241-1/+1
| | | | | | | | 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
* Fail ad_pcm initialization of WAVEFORMATEX header is missing instead of ↵reimar2010-01-241-0/+2
| | | | | | crashing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30428 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for parsing MLP and TrueHD.reimar2010-01-241-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert the xvmc part of r30422: VCR2 at least worked with xvmc at some point.cehoyos2010-01-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30426 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.stefano2010-01-241-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30425 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add forgotten declaration of ds_clear_parser.reimar2010-01-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30424 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now unused variables.reimar2010-01-241-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30423 b3059339-0415-0410-9bf9-f77b7e298cf2
* VCR2 fails for mpeg12, decodes incorrectly (and cannot be fixed) forcehoyos2010-01-241-4/+0
| | | | | | | 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
* Reset the parser on seek. Should fix some cases of audio "blips" after seeking.reimar2010-01-242-6/+24
| | | | | | | 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
* Move the resync-related code into more consistent places instead of having itreimar2010-01-245-42/+28
| | | | | | | 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
* Use av_get_bits_per_pixel() for computing the bits per pixel of thestefano2010-01-244-46/+12
| | | | | | | | | 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
* Fix ftp support to properly support large files > 2GB.reimar2010-01-241-3/+4
| | | | | | | Patch by Yuriy Kaminskiy [yumkam mail ru] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30418 b3059339-0415-0410-9bf9-f77b7e298cf2
* new year in version stringGabrov2010-01-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30417 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix, accidently reverted the new year patch with previous commitGabrov2010-01-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30416 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r30414Gabrov2010-01-241-3/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30415 b3059339-0415-0410-9bf9-f77b7e298cf2
* big new year patch for documentationsGabrov2010-01-2420-10/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30414 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indent.ramiro2010-01-241-94/+94
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30413 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't redefine M_PI. It is already defined from libavutil/mathematics.h.ramiro2010-01-241-10/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30412 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split swscale.c into scaler code (swscale.c) and utility code (utils.c).ramiro2010-01-244-1539/+1620
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30411 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch -vf halfpack to use only public API of libswscale.reimar2010-01-231-4/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30410 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the scale filter prefer yuv conversions that do not need chroma scaling.reimar2010-01-231-7/+41
| | | | | | | Also always try keeping input and output format the same first. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30409 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove the query_format_cache, it is extra complexity that makes improvementsreimar2010-01-231-6/+1
| | | | | | | difficult while the speed advantage in normal use cases is not measurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30408 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify loop conditionreimar2010-01-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30407 b3059339-0415-0410-9bf9-f77b7e298cf2
* clean up netstream docs in TOOLS/READMEcompn2010-01-231-6/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30406 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure that a qstride of 0 (intentional or not) does not completely breakreimar2010-01-232-5/+17
| | | | | | | the code (crash if malloc(0) != NULL, otherwise wrong qscales used for B-frames). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30405 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always call cache_uninit to immediately free everything cache-related if wereimar2010-01-231-3/+10
| | | | | | | fail to enable the cache. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30404 b3059339-0415-0410-9bf9-f77b7e298cf2
* Call cache-uninit unconditionally, it should always be safe to call.reimar2010-01-231-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30403 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change code to allow playing a stream even if enabling the cache failedreimar2010-01-232-4/+9
| | | | | | | while still handling it when the user aborts the cache fill. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make cache_init static, it is not used outside this filereimar2010-01-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30401 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support more formats for -ao pcm in raw mode.reimar2010-01-231-24/+19
| | | | | | | Patch by Peter Fordham [peter.fordham gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30400 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle Content-Length also when Content-Type is not set.reimar2010-01-231-5/+6
| | | | | | | Based on patch by Yuriy Kaminskiy [yumkam mail ru] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use atoll to parse Content-Length to support http for files > 2GB.reimar2010-01-231-1/+1
| | | | | | | Patch by Yuriy Kaminskiy [yumkam mail ru]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add an exit() to silence a gcc warning and ensure forked code will neverreimar2010-01-231-0/+2
| | | | | | | leave the cache-loop function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30397 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, shouldn't write to memory after freeing it.reimar2010-01-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30396 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindent.reimar2010-01-231-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Zero freed pointers.reimar2010-01-231-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for fork failing and make sure cache_uninit always frees the cache datareimar2010-01-231-1/+10
| | | | | | | even if fork failed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30393 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with en/mplayer.1 r30336jrash2010-01-221-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30392 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove any auto-inserted lavc filter.reimar2010-01-221-2/+9
| | | | | | | | Makes sure it will not be around if we e.g. try again with a different codec, which can lead to -vo null being excessively slow. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30391 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix sub_free to actually free the subtitle data.reimar2010-01-221-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30390 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a memory leak in the subreader.reimar2010-01-221-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30389 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace strncat by av_strlcat which is easier to verify for correctness.reimar2010-01-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30388 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also handle ASS subtitles when removing subtitles via sub_remove slave command.reimar2010-01-221-0/+15
| | | | | | | | Fixes memory leaks and other strange behaviour like mismatch of name and subtitle data. Based on patch by Yuriy Kaminskiy [yumkam mail ru]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30387 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid duplicating code to remove subtitles (sub_remove slave command).reimar2010-01-221-38/+41
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30386 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move array specifiers outside DECLARE_ALIGNED() invocationsmru2010-01-224-18/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable all hwaccel glue code from FFmpeg.diego2010-01-211-8/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30384 b3059339-0415-0410-9bf9-f77b7e298cf2
* x264 version 0.83 is required.cehoyos2010-01-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30383 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after FFmpeg r21353.cehoyos2010-01-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30382 b3059339-0415-0410-9bf9-f77b7e298cf2
* More const-correctness for sws_scaleconrad2010-01-212-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document some more of SwsContext.ramiro2010-01-201-26/+54
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30380 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid more pointless tests, the input and output formats need to bestefano2010-01-201-2/+2
| | | | | | | | supported both as input and as output, as the conversion performed is: yuva420p -> src -> dst -> yuva420p. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30379 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split overly long line.stefano2010-01-191-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30378 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make selfTest() perform tests where both the input and output formatsstefano2010-01-191-0/+6
| | | | | | | are supported, avoid pointless loops. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30377 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create libavutil/avconfig.h, required for FFmpeg compilation.diego2010-01-191-0/+16
| | | | | | | based on a patch by Etienne Buira, etienne.buira free fr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30376 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r30336ptt2010-01-191-1/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30375 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make const prototypes for input sources of sws_scale_* stricter.benoit2010-01-192-4/+4
| | | | | | | Patch by Alexis Ballier gmailify($firstname, $familyname) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30374 b3059339-0415-0410-9bf9-f77b7e298cf2
* swscale-example: Add comment about the use of av_{malloc,free}.ramiro2010-01-191-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set HAVE_FAST_CLZ according to CPU type.zuxy2010-01-191-4/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30372 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless forward declaration.ramiro2010-01-191-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30371 b3059339-0415-0410-9bf9-f77b7e298cf2
* User friendly warning message that gives out names of source and target formatszuxy2010-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30370 b3059339-0415-0410-9bf9-f77b7e298cf2
* swscale-example: use av_malloc()mru2010-01-191-10/+11
| | | | | | | Image buffers require 16-byte alignment, so av_malloc() should be used. Fixes crash on PPC. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30369 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split long line.stefano2010-01-181-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert int -> enum PixelFormat in doTest().stefano2010-01-181-1/