summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r30663Uoti Urpala2010-03-105-18/+57
|\ | | | | | | | | | | | | Conflicts: gui/cfg.c libmpcodecs/vd_dmo.c mplayer.c
| * Fix the stack crash(SYS3171) on OS/2 when playing qtaudio/qtvideo.komh2010-02-192-0/+13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30656 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove commented-out #include.diego2010-02-191-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30653 b3059339-0415-0410-9bf9-f77b7e298cf2
| * DirectShow requires stride to be a multiple of 4 for RGB24/BGR24, addreimar2010-02-181-10/+39
| | | | | | | | | | | | | | a special case to the DMO decoder to handle this. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30648 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge declaration and initialization.reimar2010-02-182-4/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30647 b3059339-0415-0410-9bf9-f77b7e298cf2
| * DShow and DMO decoders need MP_IMGFLAG_COMMON_PLANEreimar2010-02-182-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30646 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Call mpcodecs_config_vo with the proper image format for dmo and dshow codecs.reimar2010-02-182-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30645 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30643Uoti Urpala2010-03-109-25/+16
|\|
| * Add header for AVI print functions; avoids many forward declarations.diego2010-02-183-7/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30631 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Handle negative height in draw_slice from FFmpeg in vd_ffmpeg.c, since atreimar2010-02-171-1/+13
| | | | | | | | | | | | | | | | | | | | least vo_xv and vo_sdl can not handle it and the scale filter seems to work fine either way. The FFmpeg vp3/Theora decoder produces such slices. Fixes bug #1646. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30630 b3059339-0415-0410-9bf9-f77b7e298cf2
| * libmpcodecs: Remove pointless leftover '#if 1' preprocessor instructions.diego2010-02-176-17/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30608 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Revert marking seemingly unused XAnim-binary-related functions as static.diego2010-02-171-12/+28
| | | | | | | | | | | | | | The functions are required to load binary XAnim codecs, so they need to be kept. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30607 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Revert marking seemingly unused RealAudio/RealVideo-related functions as static.diego2010-02-172-26/+31
| | | | | | | | | | | | | | | | | | The functions are required to load binary Real codecs, so they need to be kept. Group all functions together in ad_realaud.c because all the functions are used to load audio binaries and only some to load video binaries. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30606 b3059339-0415-0410-9bf9-f77b7e298cf2
| * libmpcodecs: Mark functions not used outside of their files as static.diego2010-02-167-32/+41
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30597 b3059339-0415-0410-9bf9-f77b7e298cf2
| * #include corresponding .h files in .c files.diego2010-02-161-0/+1
| | | | | | | | | | | | | | This ensures that function declarations in both files always match. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30596 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30595Uoti Urpala2010-03-096-11/+72
|\| | | | | | | | | | | Conflicts: mplayer.c vidix/nvidia_vid.c
| * Add header for init_global_rawdv_decoder() instead of forward declaring it.diego2010-02-163-3/+28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30595 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add header file for mplayer_audio_read() instead of forward declaring it.diego2010-02-162-0/+25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30594 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for decoding 4:2:2 and 4:4:4 Theora files.reimar2010-02-141-8/+19
| | | | | | | | | | | | | | Patch by Giorgio Vazzana [mywing81 gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30585 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Move movie_aspect extern declaration to libmpcodecs/vd.h.diego2010-02-141-0/+1
| | | | | | | | | | | | | | | | This is the appropriate place for the declaration; the variable is declared in libmpcodecs/vd.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30579 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30570Uoti Urpala2010-03-091-56/+32
|\|
| * Reindentreimar2010-02-141-26/+25
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30569 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Just use goto instead of reimplementing it badly with a do { } while (0) andreimar2010-02-141-21/+8
| | | | | | | | | | | | | | break. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30568 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change aspect calculation code to switch to floating point earlier so integerreimar2010-02-141-2/+2
| | | | | | | | | | | | | | overflows are not possible. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30567 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Return NULL instead of 0 for function returning a pointer.reimar2010-02-141-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30565 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mark uninit() as static; it is only used within the file.diego2010-02-141-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30564 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove useless casts.reimar2010-02-141-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30563 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove useless code, QUERY_FORMAT already ensures the requested format is ↵reimar2010-02-141-10/+0
| | | | | | | | | | | | supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30562 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make vd_functions_t describing codecs const.reimar2010-02-142-23/+23
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30561 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make vd_info_t const for pointer in vd_functions, avoids some warnings aboutreimar2010-02-141-1/+1
| | | | | | | | | | | | | | initialization discarding the const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30559 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30557Uoti Urpala2010-03-092-2/+2
|\|
| * Remove excessive ()reimar2010-02-141-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30557 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove stray '/' from comment block, fixes the warning:diego2010-02-131-1/+1
| | | | | | | | | | | | | | libmpcodecs/vf_eq2.c:8:1: warning: "/*" within comment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30556 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30550Uoti Urpala2010-03-091-1/+1
|\|
| * Mark all ad_info_t/vd_info_t structure declarations as const.diego2010-02-1247-47/+47
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
| * libass: fix PAR correctiongreg2010-02-092-3/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30530 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Estimate pts of additional frame generated by tfields also if correct-pts isreimar2010-02-011-4/+9
| | | | | | | | | | | | | | | | not set, even if it is not very relevant currently. Based on patch by John Lindgren [john lindgren tds net] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30485 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30484Uoti Urpala2010-03-091-7/+14
|\|
| * Enable query_format for vf_tfields to make sure it isn't used for formatsreimar2010-02-011-4/+5
| | | | | | | | | | | | | | that definitely do not work, e.g. RBG with tfields=1 mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30484 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix -vf tfields=1 so it does not read out of bounds or leave parts of thereimar2010-02-011-3/+9
| | | | | | | | | | | | | | output frame uninitialized. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30483 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30463Uoti Urpala2010-03-09139-69/+2480
|\| | | | | | | | | | | Note that r30455 is wrong, that commit does not in fact change the default behavior as claimed in the commit message. It only breaks "-af-adv force=0", which was already pretty much useless though.
| * Add missing license headers to all files in the libmpcodecs directory.diego2010-01-30135-64/+2461
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove confusing comment.diego2010-01-301-2/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30462 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support more qscale types in most post-processing filters.reimar2010-01-295-4/+19
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30454 b3059339-0415-0410-9bf9-f77b7e298cf2
* | translations: tweak cases that relied on concatenating adjacent stringsUoti Urpala2010-03-071-5/+6
| | | | | | | | | | | | | | | | Tweak some code parts that used to rely on string literals from translation macros being concatenated with other adjacent string literals. Break up the resulting string into independently translated parts, so that the existing translations for those parts can still be used.
* | Restore collapsed whitespace in output messagesUoti Urpala2010-03-072-2/+2
| | | | | | | | | | | | | | | | | | For some reason commit e306174952d42e1cd6cc5efc50ae6bb0410501bc, which replaced translation macro names with the corresponding English strings, also collapsed multiple consecutive space characters into one. Change most of these back. In a couple of cases the amount of whitespace is important for alignment, and for the rest it at least keeps the strings closer to the existing translations.
* | ad_faad: move message "input bitrate missing" to MSGL_VUoti Urpala2010-01-311-1/+1
| | | | | | | | | | | | The input bitrate isn't needed for anything in normal playback, so there is no reason to print a warning message for practically all files using the decoder.
* | Merge svn changes up to r30437Uoti Urpala2010-01-283-4/+19
|\|
| * Add an option to cropdetect to periodically reset the detected area.reimar2010-01-261-4/+16
| | | | | | | | | | | | | | Patch by [quetschke scytek de] with modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30436 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
| * Reset the parser on seek. Should fix some cases of audio "blips" after seeking.reimar2010-01-241-0/+1
| | | | | | | | | | | | | | 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-242-0/+6
| | | | | | | | | | | | | | 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
* | Merge svn changes up to r30419Uoti Urpala2010-01-255-22/+88
|\|
| * 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
| * 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
| * 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
* | Merge svn changes up to r30375Uoti Urpala2010-01-252-24/+21
|\|
| * Add a proper header for our strsep implementation so strsep will<