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

25 Commits

Author SHA1 Message Date
Uoti Urpala
0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego
0b4bfff65c Use standard license headers with standard formatting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26772 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 17:24:10 +00:00
diego
21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego
496f7332a7 Relicense GPL v2 files as GPL v2+ and add proper license headers.
Done with permission from Michael Niedermayer, the author.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25557 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 10:41:20 +00:00
uau
d7f6cb23de A/V sync: take audio filter buffers into account
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
2007-11-01 06:52:50 +00:00
uau
7deec05ea0 libaf: change filter input/output ratio calculations
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
2007-11-01 06:52:01 +00:00
reimar
736affc4b2 ff_gcd is already in libavutil/common.h, no need for an extra prototype here
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23643 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 12:40:51 +00:00
michael
3b3181fefd reasonable cutoff frequency default
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22773 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-22 01:50:04 +00:00
diego
7ee0eb4e19 Rename open to af_open so as not to conflict with a previous header definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22764 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 09:46:00 +00:00
reimar
6ca4e1b4e8 Move variable declaration to appropriate place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22200 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 20:33:27 +00:00
reimar
7111287409 Cosmetics: remove tabs added in last commit from otherwise tab-free file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22199 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 20:32:56 +00:00
uau
e876e45030 Fix memory leaks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22197 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 18:12:03 +00:00
uau
945cb3447e Use AF_NCH for max number of channels instead of private CHANS define.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22196 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 18:05:18 +00:00
diego
8c317f72a7 Move conditional compilation out of the code and into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-31 23:24:08 +00:00
diego
8e2dea5f21 Unify include paths by adding -I.. to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16983 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-13 18:28:44 +00:00
reimar
19760a4dca libavutil compile fix (working also with old libavcodec)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16169 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 22:09:17 +00:00
gpoirier
e5b52ff472 10l to beastd due to new libavutil introduction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16168 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 21:16:43 +00:00
reimar
8ee78e87ce always cancel down fractions (frac_t) to avoid overflows and playback
problems (e.g. when using resample and equalizer filters together, see
http://mplayerhq.hu/pipermail/mplayer-users/2004-December/050058.html)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14434 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 21:34:06 +00:00
michael
f3f2e49ee2 faster packed<->planar conversation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14284 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 13:14:01 +00:00
alex
507121f7fe removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:30:15 +00:00
reimar
5e6cd8241b Make filters request a supported input format instead of failing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14214 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-22 00:12:00 +00:00
reimar
9a6c650981 Initialize cutoff, too. Fixes crash when AF_CONTROL_COMMAND_LINE is not set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14187 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-19 16:28:34 +00:00
michael
6206f25690 libavcodec.so headers patch by (Glenn Washburn <glenniii at mail dot utexas dot edu>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13860 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-03 01:53:56 +00:00
michael
de7f9318ad user selectable cutoff frequency
simplify resampling factor if possible, so more then one resampler can be used, libaf will still die if there are too many like it does with the default resampler (2 with sampling rates which are relative prime are too many ...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13731 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 21:15:21 +00:00
michael
7981c2e20b libavcodec resampling ...
libaf doesnt seem to support planar audio, so we need to convert it :(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13714 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 03:32:31 +00:00