From a28e2a7432f68e4a5db96cce8cbaa859327c4527 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Jun 2014 23:30:16 +0200 Subject: video: correct spelling: mp_image_params_equals -> mp_image_params_equal The type is struct mp_image_params, so the "params" should have a "s". "equals" shouldn't, because it's plural for 2 params. Important. --- video/out/gl_video.c | 2 +- video/out/vo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out') diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 832f39cfe0..2a24c073e5 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2196,7 +2196,7 @@ void gl_video_config(struct gl_video *p, struct mp_image_params *params) p->have_image = false; mp_image_unrefp(&p->image.hwimage); - if (!mp_image_params_equals(&p->image_params, params)) { + if (!mp_image_params_equal(&p->image_params, params)) { uninit_video(p); init_video(p, params); } diff --git a/video/out/vo.c b/video/out/vo.c index b41f281aad..cbf06a98df 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -286,7 +286,7 @@ void vo_queue_image(struct vo *vo, struct mp_image *mpi) assert(mpi); if (!vo->config_ok) return; - assert(mp_image_params_equals(vo->params, &mpi->params)); + assert(mp_image_params_equal(vo->params, &mpi->params)); if (vo->driver->filter_image && mpi) mpi = vo->driver->filter_image(vo, mpi); if (!mpi) { -- cgit v1.2.3