summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Simplify init_audio_filters() argumentsuau2007-11-014-36/+13
| | | | | | | | | | | | | | | Remove the following arguments as redundant: in_channels, in_format, out_minsize, out_maxsize. The first two always equal fields of the sh_audio_t struct given as the first argument to the function. The last two are unused after the allocation of sh_audio->a_out_buffer was changed to be done on demand. After the out_minsize and out_maxsize arguments are removed the function preinit_audio_filters() is identical to init_audio_filters(), so remove it and use the latter instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24922 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio: simplify buffer allocation codeuau2007-11-011-13/+2
| | | | | | | | | Remove the code allocating sh_audio->a_out_buffer from init_audio_filters() and let the buffer be allocated by the new dynamic allocation code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24921 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change decode_audio() interfaceuau2007-11-016-133/+115
| | | | | | | | | | | | Rewrite decode_audio to better deal with filters that handle input in large blocks. It now always places output in sh_audio->a_out_buffer (which was always given as a parameter before) and reallocates the buffer if needed. After the changes filters can return arbitrarily large blocks of data without some of it being lost. The new version also allows simplifying some code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24920 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up some fields in stheader.h structsuau2007-11-013-5/+2
| | | | | | | | | | | | | | sh_video_t: void *video_out: only assigned to, never read. Remove. sh_video_t: void *vfilter: change type to struct vf_instance_s * sh_audio_t: void *afilter: change type to struct af_stream_s * The latter two never hold different types so there's no reason to use void *. Maybe they were originally defined that way because the option of using pointers to incomplete struct types was missed (the typedefs vf_instance_t and af_stream_t would require extra headers)? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24919 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some pointless 'inline' qualifiersuau2007-11-015-12/+12
| | | | | | | Most of these functions aren't even used in the same translation unit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24918 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf: Remove rational number implementationuau2007-11-013-59/+3
| | | | | | | | Remove the mul/cancel/gcd functions and some related code. Use ff_gcd instead of the removed af_gcd in af_resample.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24917 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf: change filter input/output ratio calculationsuau2007-11-0124-99/+54
| | | | | | | | | | Change the audio filters to use a double instead of rationals for the ratio of output to input size. The rationals could overflow when calculating the overall ratio of a filter chain and gave no real advantage compared to doubles. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused functions in af.cuau2007-11-012-51/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24915 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace hopefully unreachable code with abort()uau2007-11-011-7/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24914 b3059339-0415-0410-9bf9-f77b7e298cf2
* dec_audio.c: Make some functions staticuau2007-11-012-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24913 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify audio buffer allocation logicuau2007-11-011-7/+5
| | | | | | | | | Remove code that set sh_audio->a_out_buffer to equal sh_audio->a_buffer between the calls to init_best_audio_codec and init_audio_filters. Nothing uses the buffer between those calls. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindent dec_audio.cuau2007-11-011-332/+373
| | | | | | | Also remove some commented out code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24911 b3059339-0415-0410-9bf9-f77b7e298cf2
* typovoroshil2007-11-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24910 b3059339-0415-0410-9bf9-f77b7e298cf2
* Escape some more '-' where appropriate.diego2007-10-311-125/+125
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24909 b3059339-0415-0410-9bf9-f77b7e298cf2
* corrected vqscale indentationptt2007-10-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24908 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove paragraph that no long applies: runtime SSE detection on Windows.zuxy2007-10-311-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24907 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix input.conf parse bug when comment follows key binding in the same line.ulion2007-10-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24906 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove outdated Hungarian translation of the playtree documentation.diego2007-10-301-120/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24905 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a backslash.cehoyos2007-10-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24904 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variables and parametersnicodvb2007-10-302-8/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24903 b3059339-0415-0410-9bf9-f77b7e298cf2
* spellingcompn2007-10-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24902 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove thankscompn2007-10-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24901 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explain the difference between '-' and '\-', correctly now.diego2007-10-301-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24900 b3059339-0415-0410-9bf9-f77b7e298cf2
* movie player for Linux --> movie playerdiego2007-10-302-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24899 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some missing escapes for '-'.diego2007-10-301-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24898 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use \- in option names.diego2007-10-301-105/+105
| | | | | | | In roff '-' is used for hyphens while '\-' is used for minus and en/em-dashes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24897 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable:diego2007-10-301-1/+1
| | | | | | | demux_lavf.c:441: warning: unused variable 'g' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24896 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment out uninit function, its use is commented out. Fixes warning:diego2007-10-301-0/+2
| | | | | | | vf_yuvcsp.c:66: warning: 'uninit' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove commented-out and unused fmt_list array.diego2007-10-301-17/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24894 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused fmt_list array, fixes the warnings:diego2007-10-303-39/+0
| | | | | | | | | vf_ow.c:296: warning: 'fmt_list' defined but not used vf_spp.c:544: warning: 'fmt_list' defined but not used vf_uspp.c:334: warning: 'fmt_list' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24893 b3059339-0415-0410-9bf9-f77b7e298cf2
* move errors and a warning to help_mp-en.hcompn2007-10-302-8/+20
| | | | | | | so they can be translated. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused functions, fixes the warnings:diego2007-10-301-41/+0
| | | | | | | | vf_2xsai.c:80: warning: 'GetResult1' defined but not used vf_2xsai.c:100: warning: 'GetResult2' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable clear_screen function, the call to the function is commented outdiego2007-10-301-0/+2
| | | | | | | | due to buggyness. Fixes the warning: vo_tdfx_vid.c:78: warning: 'clear_screen' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24890 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment out unused variable, fixes the warning:diego2007-10-301-1/+1
| | | | | | | dvb_tune.c:43: warning: 'dvb_secdev' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused functions, fixes the warnings:diego2007-10-302-16/+0
| | | | | | | | pnm.c:853: warning: 'pnm_peek_header' defined but not used pnm.c:859: warning: 'pnm_close' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24888 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable function that is only used in disabled code, fixes warning:diego2007-10-301-0/+2
| | | | | | | yuv4mpeg.c:147: warning: 'y4m_snprint_xtags' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24887 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with FFmpeg r10874diego2007-10-301-11/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24886 b3059339-0415-0410-9bf9-f77b7e298cf2
* Detect IPv6 support on Windowszuxy2007-10-301-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24885 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix fps guessinglu_zero2007-10-291-3/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update to use newer libnemesi, should fix desync, fps guessing may fail nowlu_zero2007-10-292-11/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change the frame format passed to lavc realvideo decoders to adapt for rtogni2007-10-281-15/+12
| | | | | | | | the changes in r10825. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24882 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync w/r24875gpoirier2007-10-281-10/+64
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24881 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup guess_buffer_cp() a bit, remove tmp variable, break the loop on success.iive2007-10-281-7/+6
| | | | | | | Requested by ulion. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Our enca code uses strdup() on the input encoding name, as we don't modify ↵iive2007-10-283-18/+10
| | | | | | | | | | it we can use the original constant string. Uses less memory, code is simpler and faster. Fixes memory leak (noticed by ulion). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24879 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed silly #if 1nicodvb2007-10-271-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24878 b3059339-0415-0410-9bf9-f77b7e298cf2
* DEMUXER_TYPE_TV is always defined, thus removed corresponding #ifdef USE_TV.nicodvb2007-10-271-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24877 b3059339-0415-0410-9bf9-f77b7e298cf2
* reindented previously modified codenicodvb2007-10-271-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24876 b3059339-0415-0410-9bf9-f77b7e298cf2
* program switching in demux_lavfnicodvb2007-10-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24875 b3059339-0415-0410-9bf9-f77b7e298cf2
* program switching in demux_lavfnicodvb2007-10-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24874 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented DEMUXER_CTRL_IDENTIFY_PROGRAM to permit program switchingnicodvb2007-10-271-0/+54
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24873 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit identification and selection of programsnicodvb2007-10-271-0/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24872 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit the transititions no stream <-> some streams and viceversa (needed ↵nicodvb2007-10-271-3/+11
| | | | | | for forthcoming program switching patch) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24871 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved to a new function handle_stream() the code to parse the streams and ↵nicodvb2007-10-271-111/+115
| | | | | | assign the demuxer_streams git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make functions static if they aren't referenced externally.zuxy2007-10-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24869 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables.zuxy2007-10-271-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24868 b3059339-0415-0410-9bf9-f77b7e298cf2
* in process_userdata() move debugging messages from stdout to stderrnicodvb2007-10-271-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24867 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed funny calls to fflush(stdout) after mp_msg()nicodvb2007-10-271-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24866 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed more empty spaces and empty linesnicodvb2007-10-271-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24865 b3059339-0415-0410-9bf9-f77b7e298cf2
* replaced giant if() with if(pre-calculated variable) (there was even a bug: ↵nicodvb2007-10-271-5/+1
| | | | | | PS doesn't necessarily contain mpeg12) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24864 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetic fix for r24861zuxy2007-10-271-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24863 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: removed tabs/empty lines/trailing spaces and done a partial ↵nicodvb2007-10-271-82/+72
| | | | | | reformatting where desperately needed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24862 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid crash after recovering from screensaverzuxy2007-10-271-4/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24861 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: moved to function find_video_codec() and reused in video_read_*() ↵nicodvb2007-10-271-45/+42
| | | | | | the code that identifies the various mpeg* formats git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24860 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove assert. Not only are they no help at all and proper checks shouldreimar2007-10-271-5/+0
| | | | | | | be added if desired, also assert.h is not included so compilation may fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Basic support for Closed Captioning Roll-up mode.voroshil2007-10-271-0/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reset two static variables for nosub range when subdata changed/switched.ulion2007-10-271-0/+8
| | | | | | | This fix some subtitle disappear bug when switch between subtitle streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24857 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: fix indentation after last commit.eugeni2007-10-251-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24856 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check return value of add_face.eugeni2007-10-251-0/+2
| | | | | | | | | This fixes segfault when reselecting fonts and the new font could not be loaded (because of a bad font file, or too many font faces already loaded). Patch by Glen Nakamura, glen at imodulo dot com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24855 b3059339-0415-0410-9bf9-f77b7e298cf2
* demuxer.c: Remove useless codeuau2007-10-251-21/+17
| | | | | | | | Remove "while(1) { }" around two instances of code that always do "return" in the loop body. No functionality changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24854 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed osd on maccompn2007-10-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24853 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24740: misc roff fixesvoroshil2007-10-251-6/+55
| | | | | | | | | | | | | | | | | r24746: document filter -vf ow: Overcomplete Wavelet denoiser. r24772: DirectShow based tv:// driver for win32 r24783: Consistently set NOTE: in italics. r24784: small grammar fix r24785: Add -lavfdopts cryptokey r24807: Docs update: -ao openal handles more than one channels since some time already r24808: Add a space behind openal to get minimum length of 7 r24809: Replace Polyp- by PulseAudio output. r24820: Clarify that -vo gl bicubic filtering is B-spline, not polynomial r24837: Spelling, vf_ow parameters are optional. r24841: type fix: there was a 'not' too much git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24852 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24745: libavcodec now supports dnxhd encoding.voroshil2007-10-251-4/+8
| | | | | | | | r24751: Fix Zip Motion Blocks Video codec name. r24795: better vfw encoding workaround for vp7 fourcc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24851 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24772: DirectShow based tv:// driver for win32voroshil2007-10-251-1/+48
| |