From de68b8f23c8cfbf5967aa73b08835f75ac0f152e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 23 Nov 2013 21:40:51 +0100 Subject: video: move handling of container vs. stream AR out of vd_lavc.c Now the actual decoder doesn't need to care about this anymore, and it's handled in generic code instead. This simplifies vd_lavc.c, and in particular we don't need to detect format changes in the old way anymore. --- video/decode/dec_video.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/decode/dec_video.h') diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index ebb2624037..ef0ff925ce 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -57,6 +57,8 @@ struct dec_video { float stream_aspect; // aspect ratio in media headers (DVD IFO files) int i_bps; // == bitrate (compressed bytes/sec) + + float initial_decoder_aspect; }; struct mp_decoder_list *video_decoder_list(void); -- cgit v1.2.3