summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_framestep.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vf_framestep.c')
-rw-r--r--libmpcodecs/vf_framestep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmpcodecs/vf_framestep.c b/libmpcodecs/vf_framestep.c
index ee438c5625..b48c5108a4 100644
--- a/libmpcodecs/vf_framestep.c
+++ b/libmpcodecs/vf_framestep.c
@@ -53,6 +53,7 @@
#include "config.h"
#include "mp_msg.h"
+#include "help_mp.h"
#include "cpudetect.h"
#include "img_format.h"
@@ -88,7 +89,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts)
*/
if (priv->dump_iframe) {
if (mpi->pict_type == 1) {
- printf("I!\n");
+ mp_msg(MSGT_VFILTER, MSGL_INFO, "I!\n");
}
}
@@ -172,7 +173,7 @@ static int open(vf_instance_t *vf, char* args)
if (*args != '\0') {
p->frame_step = atoi(args);
if (p->frame_step <= 0) {
- printf("Error parsing argument\n");
+ mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_ErrorParsingArgument);
return(0);
}
}