From e13eb3fede680fdadb76efce957806654cda0f23 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 20 Sep 2016 15:34:31 +0200 Subject: command: change update handling of some video-related properties Use the new mechanism, instead of wrapped properties. As usual, extend the update handling to some options that were forgotten/neglected before. Rename video_reset_aspect() to video_reset_params() to make it more "general" (and we can amazingly include write access to video-aspect as well in this). --- video/decode/dec_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode/dec_video.c') diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c index 2a6a3ec213..51f959ff6d 100644 --- a/video/decode/dec_video.c +++ b/video/decode/dec_video.c @@ -341,7 +341,7 @@ static struct mp_image *decode_packet(struct dec_video *d_video, return mpi; } -void video_reset_aspect(struct dec_video *d_video) +void video_reset_params(struct dec_video *d_video) { d_video->last_format = (struct mp_image_params){0}; } -- cgit v1.2.3