[vlc-devel] [PATCH] android_window: fix typo from "fix subtitles placement"

Thomas Guillem thomas at gllm.fr
Fri Feb 20 15:22:00 CET 2015


---
 modules/video_output/android/android_window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index 83f1658..600f450 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -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) {
-- 
2.1.3




More information about the vlc-devel mailing list