summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-18 11:32:53 +0200
committerwm4 <wm4@nowhere>2013-05-18 17:32:37 +0200
commitc970f5c3288a0e0cb925327182d4317768be0b83 (patch)
tree4d00d9d39855d41f751bc30ee5913d20564ea64f /video/decode/dec_video.c
parentf921a675aed0d50bf94fb211692209c8ba618750 (diff)
downloadmpv-c970f5c3288a0e0cb925327182d4317768be0b83.tar.bz2
mpv-c970f5c3288a0e0cb925327182d4317768be0b83.tar.xz
video: rename VDCTRL_RESET_ASPECT to VDCTRL_REINIT_VO
Same thing, and VDCTRL_REINIT_VO implies more generic use.
Diffstat (limited to 'video/decode/dec_video.c')
-rw-r--r--video/decode/dec_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c
index 465791a1ed..1dd83db8bd 100644
--- a/video/decode/dec_video.c
+++ b/video/decode/dec_video.c
@@ -162,9 +162,9 @@ void resync_video_stream(sh_video_t *sh_video)
sh_video->prev_sorted_pts = MP_NOPTS_VALUE;
}
-void video_reset_aspect(struct sh_video *sh_video)
+void video_reinit_vo(struct sh_video *sh_video)
{
- sh_video->vd_driver->control(sh_video, VDCTRL_RESET_ASPECT, NULL);
+ sh_video->vd_driver->control(sh_video, VDCTRL_REINIT_VO, NULL);
}
int get_current_video_decoder_lag(sh_video_t *sh_video)