diff options
author | wm4 <wm4@nowhere> | 2013-12-21 17:43:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:10 +0100 |
commit | 426ebbae5ff578923a83a4395ff499f0348f7dcc (patch) | |
tree | e0155cf4a0813ca15a0cd6364bcae25c81cf164b /video/filter/vf_eq.c | |
parent | 877303aaa9111fc56a8e5edbeb439699acfe44c0 (diff) | |
download | mpv-426ebbae5ff578923a83a4395ff499f0348f7dcc.tar.bz2 mpv-426ebbae5ff578923a83a4395ff499f0348f7dcc.tar.xz |
video/filter: mp_msg conversions
Diffstat (limited to 'video/filter/vf_eq.c')
-rw-r--r-- | video/filter/vf_eq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/video/filter/vf_eq.c b/video/filter/vf_eq.c index b5a898a58f..d362390d88 100644 --- a/video/filter/vf_eq.c +++ b/video/filter/vf_eq.c @@ -58,6 +58,7 @@ typedef struct eq2_param_t { } eq2_param_t; typedef struct vf_priv_s { + struct mp_log *log; eq2_param_t param[3]; double contrast; @@ -313,7 +314,7 @@ void check_values (eq2_param_t *par) static void print_values (vf_eq2_t *eq2) { - mp_msg (MSGT_VFILTER, MSGL_V, "vf_eq2: c=%.2f b=%.2f g=%.4f s=%.2f \n", + MP_VERBOSE(eq2, "vf_eq2: c=%.2f b=%.2f g=%.4f s=%.2f \n", eq2->contrast, eq2->brightness, eq2->gamma, eq2->saturation ); } @@ -470,6 +471,7 @@ int vf_open(vf_instance_t *vf) vf->priv = malloc (sizeof (vf_eq2_t)); eq2 = vf->priv; + eq2->log = vf->log; for (i = 0; i < 3; i++) { eq2->buf[i] = NULL; |