Commit Graph

188 Commits

Author SHA1 Message Date
uau 203d128918 Fix stupid use of multiplication to check signs which fails because of
overflow. Negative values do not seem to be used so just remove the 
failing test.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19889 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 14:04:50 +00:00
diego 66b1d0d001 The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 12:11:11 +00:00
diego b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
reynaldo 6a7db58a9d fix wrong and unrelated change done in r19199
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19204 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 18:35:40 +00:00
reynaldo db5487225c marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 17:35:06 +00:00
reynaldo ca57bf9033 Removes an unneeded cast. Patch by Stefan Huehner, stefan AT.. huehner.org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19114 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:24:42 +00:00
reynaldo d427579f79 marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:20:30 +00:00
diego f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
diego 02a3a41923 Use only one global config.mak file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19039 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:28:14 +00:00
reynaldo ca1970b25a makes several libaf functions static coz they are not used outside their source files. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18972 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 03:59:52 +00:00
diego 1989cd3f6f remove unused variables, patch by Stefan Huehner stefan {dot} huehner {dot} org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18910 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-05 10:24:23 +00:00
reynaldo 132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo c71983202c gets ride of a few more sizeof(char)s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 04:24:07 +00:00
corey 7fbe455e5e sinesupress --> sinesuppress rename: looks like I need to
'svn commit af_sinesupress.c' (the old file).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18613 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 00:05:50 +00:00
corey 9fb516e90a Rename sinesupress to sinesuppress, including af_sinesupress.c file rename.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18612 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 00:02:51 +00:00
corey cf063c0e6f Fix a few minor spelling errors in comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18590 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 22:23:42 +00:00
diego 4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
reynaldo d6081d2977 New karaoke af
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18471 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 08:46:31 +00:00
reynaldo 3a406e94d7 Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 07:20:34 +00:00
michael 9b2c81e1bb very simple filter which can remove a sine at a specified frequency, usefull to get rid of the 50/60hz noise on ultra crappy equipment
probably works only with 1 channel input


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18083 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-13 10:36:17 +00:00
corey a6de87d626 Fix up libaf unknown-format printing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17877 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 21:32:10 +00:00
reynaldo bfcb1f80f1 last print on libaf to af_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17864 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-14 16:57:16 +00:00
reynaldo 4e880d8076 added dinamically calculated gain factor at output stage to avoid clipping on sane ranges
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17813 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 21:16:59 +00:00
reimar 694f18ea46 fix memory leak when filter with given name does not exist.
Also prints which filter failed in the malloc-failed case


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17781 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 15:39:53 +00:00
reimar 6c232b95c4 We start with 0, so ch (channel number) == AF_NCH is invalid, too (not just >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17775 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 13:00:51 +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 89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
rathann bb3f61e4ff This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
libaf's and libmenu's Makefiles and -g from main Makefile.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17382 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 23:38:16 +00:00
rathann 2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
reynaldo 553e29bf7e wrong output level calculation on af_equalizer leaded to low level output even with all octaves at 0db (default), patch by Corey Hickey bugfood-ml AT -fatooh/org-
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17069 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-01 03:14:21 +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
joey 8572f14094 Adds a target parameter to the volnorm filter.
This is useful to avoid clipping when processing data,
  but less important when watching a clip live.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16972 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 02:47:21 +00:00
ptt 6e1d740c4a MSGTR_MemAllocFailed printout changed to fit its definition in help/help_mp-en.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16905 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 00:45:56 +00:00
reimar d475a9523f semi-hack: avoid passing 0-length blocks to audio filters.
Fixes bugzilla bug #391 (lavcresample crashes).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16816 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-20 09:12:28 +00:00
reimar 81827eb239 much simpler signed/unsigned conversion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16665 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-04 21:49:56 +00:00
reimar 01ced1e49e documentation-only patch: make doxygen compatible and create
af_chain and af_filter doxygen modules.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16628 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-01 12:55:34 +00:00
reimar e3d0df70fe Fix af_pan commandline mess and (hopefully) improve description.
It should now output the right number of channels and it doesn't silently
clamp values to the too restrictive [0, 1] range.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16494 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-15 11:41:23 +00:00
alex e54b5d16df code reduction and less error prone, use the same table
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16260 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-18 11:37:16 +00:00
ivo 812ee3753e Removed in-filter int to float conversion. af_ladspa now demands floats as
that's what LADSPA filters use internally too. conversion from int, if needed,
is done by af_format as it's supposed to.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16196 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-10 23:27:39 +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
alex 221a599f2a added missing license header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16116 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-27 11:09:42 +00:00
reimar 2066463ec5 Avoid hang with -af-adv force=3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16073 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 16:58:25 +00:00
reimar d22ae4a4d9 make -srate work again, unify audio filter init and preinit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 10:50:53 +00:00
diego 8475733dc2 Fix mp_msg vs af_msg usage as pointed out by Ivo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15792 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 01:00:35 +00:00
ivo 6a166ddf6a 10l for me. two usages of mp_msg instead of af_msg slipped through
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15791 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:50:42 +00:00
gpoirier 9dd8f241ac adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
ranma 2098665b8d Be more patch-friendly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 22:52:55 +00:00
henry c9e396b898 - correct the argument in configure check for lrintf() to avoid a warning
- add -D_GNU_SOURCE where lrintf() is used, for the cases when -std=gnu99
  isn't available


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15597 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-30 08:57:30 +00:00
alex f515356aa3 sanity checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15539 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-21 15:05:31 +00:00