]> git.sesse.net Git - vlc/commitdiff
Ahem...
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 14 Oct 2006 14:41:55 +0000 (14:41 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 14 Oct 2006 14:41:55 +0000 (14:41 +0000)
modules/video_filter/rotate.c

index 822c7e474eebf0b64397a00909037677bd567031..ad2e4be7137a9936452b6925e044d89ec3720fdc 100644 (file)
@@ -149,7 +149,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
     }
 
     p_filter->p_sys->last_date = new_date;
-    f_angle = (double)p_filter->p_sys->i_angle;
+    f_angle = (((double)p_filter->p_sys->i_angle)*M_PI)/180.;
     f_sin = sin( f_angle );
     f_cos = cos( f_angle );