diff options
Diffstat (limited to 'libmpcodecs/vf_tile.c')
-rw-r--r-- | libmpcodecs/vf_tile.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libmpcodecs/vf_tile.c b/libmpcodecs/vf_tile.c index e20217e4a6..9192f5bf5f 100644 --- a/libmpcodecs/vf_tile.c +++ b/libmpcodecs/vf_tile.c @@ -55,7 +55,6 @@ #include "config.h" #include "mp_msg.h" -#include "help_mp.h" #include "cpudetect.h" #include "img_format.h" @@ -84,7 +83,7 @@ struct vf_priv_s { }; -static int config(struct vf_instance *vf, +static int config(struct vf_instance* vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt){ @@ -107,7 +106,7 @@ static int config(struct vf_instance *vf, } /* Filter handler */ -static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) +static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts) { mp_image_t *dmpi; struct vf_priv_s *priv; @@ -192,14 +191,14 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) } } -static void uninit(struct vf_instance *vf) +static void uninit(struct vf_instance* vf) { /* free local data */ free(vf->priv); } /* rgb/bgr 15->32 supported & some Yxxx */ -static int query_format(struct vf_instance *vf, unsigned int fmt) +static int query_format(struct vf_instance* vf, unsigned int fmt) { switch (fmt) { /* rgb 15 -> 32 bit */ @@ -295,7 +294,7 @@ static int vf_open(vf_instance_t *vf, char *args) // er |= parse_int( &args, &p->bkgSet, 0 ); if (er) { - mp_msg(MSGT_VFILTER, MSGL_ERR, MSGTR_MPCODECS_ErrorParsingArgument); + mp_tmsg(MSGT_VFILTER, MSGL_ERR, "[VF_FRAMESTEP] Error parsing argument.\n"); return 0; } /* Load some default */ |