diff options
author | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-01-23 01:13:00 +0000 |
---|---|---|
committer | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-01-23 01:13:00 +0000 |
commit | 35ef69660065a7384ff2259eab5defd3215d461e (patch) | |
tree | 545f88b7c8df06f154d7a3c644ee7fda1c6c0127 /mencoder.c | |
parent | a978ec72896d5faf594e69de1da10171eca2818f (diff) | |
download | mpv-35ef69660065a7384ff2259eab5defd3215d461e.tar.bz2 mpv-35ef69660065a7384ff2259eab5defd3215d461e.tar.xz |
add lame filter options
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11835 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c index 5a5e66e0d4..0bfe7ace97 100644 --- a/mencoder.c +++ b/mencoder.c @@ -216,6 +216,9 @@ int lame_param_padding=-1; // unset int lame_param_br=-1; // unset int lame_param_ratio=-1; // unset float lame_param_scale=-1; // unset +int lame_param_lowpassfreq = 0; //auto +int lame_param_highpassfreq = 0; //auto + #if HAVE_MP3LAME >= 392 int lame_param_fast=0; // unset static char* lame_param_preset=NULL; // unset @@ -996,6 +999,8 @@ if(lame_param_scale>0) { printf("Setting audio input gain to %f\n", lame_param_scale); lame_set_scale(lame,lame_param_scale); } +if(lame_param_lowpassfreq>=-1) lame_set_lowpassfreq(lame,lame_param_lowpassfreq); +if(lame_param_highpassfreq>=-1) lame_set_highpassfreq(lame,lame_param_highpassfreq); #if HAVE_MP3LAME >= 392 if(lame_param_preset != NULL){ printf ("\npreset=%s\n\n",lame_param_preset); |