summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-23 21:40:51 +0100
committerwm4 <wm4@nowhere>2013-11-23 21:40:51 +0100
commitde68b8f23c8cfbf5967aa73b08835f75ac0f152e (patch)
tree828f8d20f24fd52ddade4e2f0020d5eefd1e9491 /video/decode/dec_video.h
parent215b3cedda95786392fd1064155f3e39d9b7c662 (diff)
downloadmpv-de68b8f23c8cfbf5967aa73b08835f75ac0f152e.tar.bz2
mpv-de68b8f23c8cfbf5967aa73b08835f75ac0f152e.tar.xz
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.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r--video/decode/dec_video.h2
1 files changed, 2 insertions, 0 deletions
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);