diff options
author | wm4 <wm4@nowhere> | 2016-09-20 15:34:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-20 15:44:16 +0200 |
commit | e13eb3fede680fdadb76efce957806654cda0f23 (patch) | |
tree | d3ae9bc7c32824256588a2896ae64afb57f97825 /video/decode/dec_video.c | |
parent | bf385e1140069fb1c6d41161aece0fe099513ac0 (diff) | |
download | mpv-e13eb3fede680fdadb76efce957806654cda0f23.tar.bz2 mpv-e13eb3fede680fdadb76efce957806654cda0f23.tar.xz |
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).
Diffstat (limited to 'video/decode/dec_video.c')
-rw-r--r-- | video/decode/dec_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
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}; } |