summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-15 20:34:45 +0100
committerwm4 <wm4@nowhere>2016-02-15 20:34:45 +0100
commitf2b039da77fc66119d556e575822c2b8d328cdaf (patch)
tree658de5151cc968bfeb79f222a181afac926b390b /video/decode/dec_video.h
parentf219a48dca7dbd525c1611b1d579947a3dd9b82b (diff)
downloadmpv-f2b039da77fc66119d556e575822c2b8d328cdaf.tar.bz2
mpv-f2b039da77fc66119d556e575822c2b8d328cdaf.tar.xz
audio/video: expose codec info as separate field
Preparation for the timeline rewrite. The codec will be able to change, the stream header not.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r--video/decode/dec_video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index 9d69e0c73b..d4c12a7bc4 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -34,6 +34,7 @@ struct dec_video {
const struct vd_functions *vd_driver;
struct mp_hwdec_info *hwdec_info; // video output hwdec handles
struct sh_stream *header;
+ struct mp_codec_params *codec;
char *decoder_desc;