summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Warning fixes:ulion2007-11-051-8/+8
| | | | | | | | | | | | | | | menu.c:303: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type menu.c:370: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type menu.c:463: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type menu.c:537: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type menu.c:565: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type menu.c:577: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type menu.c:597: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type menu.c:612: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24968 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l Diego, revert commit 24966.iive2007-11-041-2/+2
| | | | | | | We do not have policy of restoring bugs when bug is fixed by accident. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24967 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix previous incorrect commit, +/- has higher precedence than shifts.diego2007-11-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24966 b3059339-0415-0410-9bf9-f77b7e298cf2
* The function names of [rgb|bgr]1[56]to[UV|Y] had rgb<->bgr flipped.diego2007-11-041-8/+8
| | | | | | | Rename them to match the actual implementation. Fixes issue 162. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Escape some more '-'.diego2007-11-048-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24964 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r24954Gabrov2007-11-041-8/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24963 b3059339-0415-0410-9bf9-f77b7e298cf2
* Old code for dvdsub_id fix assume the global_sub_indices[SUB_SOURCE_DEMUX]ulion2007-11-041-1/+3
| | | | | | | | must be zero when use a dvdsub_id greater than max sub id from demux. To remove the implicit assumption, make it up here. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24962 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid short forms; has the added benefit of allowing compilation with gcc 2.95diego2007-11-031-1/+1
| | | | | | | which complains about 'unterminated string or character constant'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24961 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add an example on how to use slave mode with a fiforeimar2007-11-031-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24960 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some parentheses to fix the following warnings:diego2007-11-031-2/+2
| | | | | | | | vo_directfb2.c:1189: warning: suggest parentheses around + or - inside shift vo_directfb2.c:1190: warning: suggest parentheses around + or - inside shift git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24959 b3059339-0415-0410-9bf9-f77b7e298cf2
* add some updatescompn2007-11-031-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24958 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix link to email explaining the paused vf_menu behaviour changereimar2007-11-031-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace some Hungarian comments, thanks to Denes Balatoni for the translation.diego2007-11-031-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Escape a ton of '-'. Note that this is likely not complete.diego2007-11-039-1748/+1748
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24955 b3059339-0415-0410-9bf9-f77b7e298cf2
* another round of '-' escapesdiego2007-11-031-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24954 b3059339-0415-0410-9bf9-f77b7e298cf2
* one more '-' escape, wording fixdiego2007-11-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24953 b3059339-0415-0410-9bf9-f77b7e298cf2
* Escape some more '-' where appropriate.diego2007-11-031-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24952 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove idiotic check that would always be falsereimar2007-11-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24951 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explain new ao_pulse option syntaxreimar2007-11-031-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24950 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change parsing to allow host == NULL and sink != NULLreimar2007-11-031-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24949 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify argument "parsing"reimar2007-11-031-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24948 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sink variable local, it is only used in one placereimar2007-11-031-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24947 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a check+abort, this case should never happen anyway, and if it doesreimar2007-11-031-3/+0
| | | | | | | the most likely result is a NULL dereference which isn't much worse. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24946 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync w/r24924, patch by JRaSH %jrash06 A 163 P com%gpoirier2007-11-031-1/+75
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24945 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24875: program switching in demux_lavfvoroshil2007-11-031-227/+227
| | | | | | | | r24897: Consistently use \- in option names. r24909: Escape some more '-' where appropriate. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24944 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24892: move errors and a warning to help_mp-en.hvoroshil2007-11-031-1/+13
| | | | | | | r24924: Add audio filter scaletempo git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24943 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24907: Remove paragraph that no long applies: runtime SSE detection on Windows.voroshil2007-11-031-8/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24942 b3059339-0415-0410-9bf9-f77b7e298cf2
* We support gcc 2.95 (fixes r24928).cehoyos2007-11-021-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24941 b3059339-0415-0410-9bf9-f77b7e298cf2
* in video_read_frame() set the keyframe flag in demuxer->video when dealing withnicodvb2007-11-021-0/+2
| | | | | | | VIDEO_MPEG12 and picture_coding_type==I_FRAME; fixes seeking in avi streams with MPEG1/2 video git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24940 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r24938Gabrov2007-11-023-239/+318
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24939 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent unlikely memleaknicodvb2007-11-021-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24938 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, priv->use_psm can be 1 only if the format is genmpeg2nicodvb2007-11-021-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24937 b3059339-0415-0410-9bf9-f77b7e298cf2
* add streams to the PSM only if priv->use_psm is set, otherwise the muxer wouldnicodvb2007-11-021-1/+1
| | | | | | | write the map also for ordinary mpeg audio and video streams (wasting space) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24936 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved to fix_parameters() the decision of the necessity of the PSM based on ↵nicodvb2007-11-021-2/+3
| | | | | | the format of the video stream git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24935 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed no more needed variablenicodvb2007-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24934 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved to fix_parameters() the code that decides if the PSM is needednicodvb2007-11-021-11/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24933 b3059339-0415-0410-9bf9-f77b7e298cf2
* repeat the PSM once every second (in terms of delta_scr) otherwise playing ↵nicodvb2007-11-021-0/+23
| | | | | | the file from the middle would miss the first instance git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24932 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove the registration descriptor from the PSM: writing the fourcc in it ↵nicodvb2007-11-021-7/+2
| | | | | | makes it total crap git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24931 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100% cosmetics: reformatted with tabs and symmetric braces and removed ↵nicodvb2007-11-021-319/+324
| | | | | | useless braces and trailing tabs git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include to fix GNU/kFreeBSD compilation, see Debian bug #448791.diego2007-11-011-0/+1
| | | | | | | patch by Petr Salinger, Petr.Salinger seznam cz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24929 b3059339-0415-0410-9bf9-f77b7e298cf2
* A/V sync: take audio filter buffers into accountuau2007-11-017-7/+21
| | | | | | | | | | | | | | | | | | Substract the delay caused by filter buffering when calculating currently playing audio position. This matters for af_scaletempo which buffers significant and varying amounts of data. For other current filters the effect is normally insignificant. Instead of the old time-based filter delay field (which was ignored) this version stores the per-filter delay in units of bytes input read without corresponding output. This allows the current scaletempo behavior where other filters before and after it can see the same nominal samplerate even though the real duration of the data varies; in this case the other filters can not know the delay they're causing in terms of real time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24928 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_scaletempo: code cleanupuau2007-11-011-10/+17
| | | | | | | | | Make internal functions static and remove leading '_' from some function names. Cast pointers to compatible 8-bit pointer types instead of ints when calculating their difference. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24927 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_scaletempo: Fix crash in option parsinguau2007-11-011-1/+1
| | | | | | | | | | The value of the "speed" suboption was not initialized before calling subopt_parse(). If the command line had suboptions but "speed" was not one of them then the code accessed an uninitialized pointer and possibly crashed. Fixed by initializing the option value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24926 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_scaletempo: Fix audio copy positionuau2007-11-011-2/+2
| | | | | | | | | Because of a missing *num_channels factor the filter copied audio from an incorrect position. This mixed up the channel order and hurt audio quality even if the channels had identical content. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add audio filter scaletempouau2007-11-018-9/+642
| | | | | | | Patch by Robert Juliano, juliano.1 osu edu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make output samplerate independent of -speeduau2007-11-011-1/+1
| | | | | | | | | | | | | | | | | The samplerate requested from the audio out depended on the initial value of playback speed on startup. Changing speed later at runtime does not affect output samplerate; audio is always resampled instead. Change the init code so that speed does not affect the samplerate requested and behavior matches what you'd get by starting the file with speed 1 and then changing it. The previous behavior could be desirable when using a constant speed value. However it means that if you start with a low speed and later switch to normal speed then audio will be resampled to a low output frequency. You can still use -srate to explicitly select the frequency. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24923 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
|