]> git.sesse.net Git - vlc/commitdiff
ASCII Art: fix invalid video format, crash in scaling
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 10 Nov 2014 20:55:21 +0000 (22:55 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 10 Nov 2014 20:55:41 +0000 (22:55 +0200)
modules/video_output/aa.c

index 0f64ae1b0c8a4c9b948c79d1c08bc11aa2f5fc2c..26f7575f7b0dd219835408a246286d5ce4e3f79e 100644 (file)
@@ -119,6 +119,8 @@ static int Open(vlc_object_t *object)
     fmt.i_chroma = VLC_CODEC_RGB8;
     fmt.i_width  = aa_imgwidth(sys->aa_context);
     fmt.i_height = aa_imgheight(sys->aa_context);
+    fmt.i_visible_width = fmt.i_width;
+    fmt.i_visible_height = fmt.i_height;
 
     /* */
     vout_display_info_t info = vd->info;