]> git.sesse.net Git - vlc/blobdiff - modules/codec/tarkin.c
Removed es_format_t::i_aspect.
[vlc] / modules / codec / tarkin.c
index f0327413ff779c5d726de68857ded4a60b07633d..0976832114e2f672784219b05fe96bd3f3dc49d9 100644 (file)
@@ -260,8 +260,8 @@ static picture_t *DecodePacket( decoder_t *p_dec, block_t **pp_block,
         p_dec->fmt_out.video.i_width = i_width;
         p_dec->fmt_out.video.i_height = i_height;
 
-        p_dec->fmt_out.video.i_aspect =
-            VOUT_ASPECT_FACTOR * i_width / i_height;
+        p_dec->fmt_out.video.i_sar_num = 1;
+        p_dec->fmt_out.video.i_sar_den = 1;
         p_dec->fmt_out.i_codec = i_chroma;
 
         /* Get a new picture */