]> git.sesse.net Git - vlc/commitdiff
android_window: fix typo from "fix subtitles placement"
authorThomas Guillem <thomas@gllm.fr>
Fri, 20 Feb 2015 13:22:00 +0000 (13:22 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 20 Feb 2015 14:28:04 +0000 (15:28 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/android/android_window.c

index 83f1658523e19ae4fcc72af47d27a3c23f318376..600f450007d136189be6115dd5a1c1038a8bdb58 100644 (file)
@@ -213,7 +213,7 @@ static void FixSubtitleFormat(vout_display_sys_t *sys)
         if (fmt.i_sar_num >= fmt.i_sar_den)
             i_video_width = i_video_width * fmt.i_sar_num / fmt.i_sar_den;
         else
-            i_display_height = i_display_height * fmt.i_sar_den / fmt.i_sar_num;
+            i_video_height = i_video_height * fmt.i_sar_den / fmt.i_sar_num;
     }
 
     if (sys->p_window->i_angle == 90 || sys->p_window->i_angle == 180) {