summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_framestep.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-31 00:15:47 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-31 00:15:47 +0000
commitb4c74fb28e7012d2c682896418e5ee573e3614f7 (patch)
tree0ea489773dbba06af0a37771c11f917ec78c7edc /libmpcodecs/vf_framestep.c
parente5782cf37b2f6e340d17a8a9eec6d6461f1fee42 (diff)
downloadmpv-b4c74fb28e7012d2c682896418e5ee573e3614f7.tar.bz2
mpv-b4c74fb28e7012d2c682896418e5ee573e3614f7.tar.xz
Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
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);
}
}