summaryrefslogtreecommitdiffstats
path: root/libaf/af_resample.c
diff options
context:
space:
mode:
authoranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 11:28:03 +0000
committeranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 11:28:03 +0000
commitfe053df38da17eaa26caa9f753baa69aa68bdf55 (patch)
tree6611e54d8fe98d655fb9224b0d5a5bd063283e3d /libaf/af_resample.c
parentea698923eb65deeaddedcc5ba86d0f69fdd26516 (diff)
downloadmpv-fe053df38da17eaa26caa9f753baa69aa68bdf55.tar.bz2
mpv-fe053df38da17eaa26caa9f753baa69aa68bdf55.tar.xz
Changing frequency limit for resampling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7617 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af_resample.c')
-rw-r--r--libaf/af_resample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libaf/af_resample.c b/libaf/af_resample.c
index b9c45e32b2..7230c42f21 100644
--- a/libaf/af_resample.c
+++ b/libaf/af_resample.c
@@ -267,8 +267,8 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
// Reinit must be called after this function has been called
// Sanity check
- if(((int*)arg)[0] < 2000 || ((int*)arg)[0] > 192000){
- mp_msg(MSGT_AFILTER,MSGL_ERR,"[resample] The output sample frequency must be between 2kHz and 192kHz. Current value is %i \n",((int*)arg)[0]);
+ if(((int*)arg)[0] < 8000 || ((int*)arg)[0] > 192000){
+ mp_msg(MSGT_AFILTER,MSGL_ERR,"[resample] The output sample frequency must be between 8kHz and 192kHz. Current value is %i \n",((int*)arg)[0]);
return AF_ERROR;
}