]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/switcher.c
Used a sar for picture_New/Setup.
[vlc] / modules / stream_out / switcher.c
index 783c31bc40b0d3e7b64f8907aae64c4063249f92..14780596643158d728cbcc994c76523636f2fba7 100644 (file)
@@ -615,8 +615,7 @@ static int UnpackFromFile( sout_stream_t *p_stream, const char *psz_file,
     }
 
     if( picture_Setup( p_pic, VLC_CODEC_I420,
-                       i_width, i_height,
-                       i_width * VOUT_ASPECT_FACTOR / i_height ) )
+                       i_width, i_height, 1, 1 ) )
     {
         msg_Err( p_stream, "unknown chroma" );
         return -1;