[MPlayer-cvslog] r37620 - trunk/libaf/af_scaletempo.c

reimar subversion at mplayerhq.hu
Mon Feb 8 21:43:51 CET 2016


Author: reimar
Date: Mon Feb  8 21:43:50 2016
New Revision: 37620

Log:
af_scaletempo: fix AF_CONTROL_SCALETEMPO_AMOUNT.

Copy-paste error caused value to always be
overwritten with default.

Modified:
   trunk/libaf/af_scaletempo.c

Modified: trunk/libaf/af_scaletempo.c
==============================================================================
--- trunk/libaf/af_scaletempo.c	Sun Feb  7 22:38:45 2016	(r37619)
+++ trunk/libaf/af_scaletempo.c	Mon Feb  8 21:43:50 2016	(r37620)
@@ -455,7 +455,6 @@ static int control(struct af_instance_s*
   }
   case AF_CONTROL_SCALETEMPO_AMOUNT | AF_CONTROL_SET:{
     s->scale = *(float*)arg;
-    s->scale = s->speed * s->scale_nominal;
     return AF_OK;
   }
   case AF_CONTROL_SCALETEMPO_AMOUNT | AF_CONTROL_GET:


More information about the MPlayer-cvslog mailing list