]> git.sesse.net Git - vlc/commitdiff
Reuse the encoder
authorClément Stenac <zorglub@videolan.org>
Wed, 29 Dec 2004 16:15:50 +0000 (16:15 +0000)
committerClément Stenac <zorglub@videolan.org>
Wed, 29 Dec 2004 16:15:50 +0000 (16:15 +0000)
modules/video_output/image.c

index f53434ef335fee95e2311e9419f0cf989538e04e..5350f68941dd3c389227f1f013e55af764538a86 100644 (file)
@@ -222,8 +222,8 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
                                          10 );
 
     fmt_in.i_chroma = p_vout->render.i_chroma;
-    fmt_in.i_width = p_vout->render.i_width;
-    fmt_in.i_height = p_vout->render.i_height;
+    fmt_out.i_width = fmt_in.i_width = p_vout->render.i_width;
+    fmt_out.i_height = fmt_in.i_height = p_vout->render.i_height;
 
     p_vout->p_sys->i_current++;