summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-17 23:30:16 +0200
committerwm4 <wm4@nowhere>2014-06-17 23:30:27 +0200
commita28e2a7432f68e4a5db96cce8cbaa859327c4527 (patch)
tree90dd1b68bbf99814ac38fbb92d98e5ca51858ebb /player/video.c
parentefa6b09b65f8c87a18745352777225adef7dbfc0 (diff)
downloadmpv-a28e2a7432f68e4a5db96cce8cbaa859327c4527.tar.bz2
mpv-a28e2a7432f68e4a5db96cce8cbaa859327c4527.tar.xz
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.
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/video.c b/player/video.c
index 59484088d6..c7d5cd8ddb 100644
--- a/player/video.c
+++ b/player/video.c
@@ -367,7 +367,7 @@ static int video_decode_and_filter(struct MPContext *mpctx)
// Decoder output is different from filter input?
bool need_vf_reconfig = !vf->input_params.imgfmt || vf->initialized < 1 ||
- !mp_image_params_equals(&d_video->decoder_output, &vf->input_params);
+ !mp_image_params_equal(&d_video->decoder_output, &vf->input_params);
// (If imgfmt==0, nothing was decoded yet, and the format is unknown.)
if (need_vf_reconfig && d_video->decoder_output.imgfmt) {
@@ -465,7 +465,7 @@ static int video_output_image(struct MPContext *mpctx, double endpts,
// Filter output is different from VO input?
bool need_vo_reconfig = !vo->params ||
- !mp_image_params_equals(&vf->output_params, vo->params);
+ !mp_image_params_equal(&vf->output_params, vo->params);
if (need_vo_reconfig) {
// Draining VO buffers.