summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r--video/decode/dec_video.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index be82e4679a..f7bff61c9f 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -65,7 +65,7 @@ struct dec_video {
// Final PTS of previously decoded image
double decoded_pts;
- struct mp_image_params last_format, fixed_format;
+ struct mp_image_params dec_format, last_format, fixed_format;
float initial_decoder_aspect;
double start_pts;
@@ -92,5 +92,6 @@ void video_set_start(struct dec_video *d_video, double start_pts);
int video_vd_control(struct dec_video *d_video, int cmd, void *arg);
void video_reset(struct dec_video *d_video);
void video_reset_params(struct dec_video *d_video);
+void video_get_dec_params(struct dec_video *d_video, struct mp_image_params *p);
#endif /* MPLAYER_DEC_VIDEO_H */