diff libmpcodecs/vf_test.c @ 18004:bcd805923554

Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
author reynaldo
date Fri, 31 Mar 2006 00:15:47 +0000
parents 20aca9baf5d8
children f8d4f8eff72b
line wrap: on
line diff
--- a/libmpcodecs/vf_test.c	Thu Mar 30 23:47:03 2006 +0000
+++ b/libmpcodecs/vf_test.c	Fri Mar 31 00:15:47 2006 +0000
@@ -23,6 +23,7 @@
 
 #include "config.h"
 #include "mp_msg.h"
+#include "help_mp.h"
 
 #include "img_format.h"
 #include "mp_image.h"
@@ -51,7 +52,7 @@
 	unsigned int flags, unsigned int outfmt){
 
     if(vf_next_query_format(vf,IMGFMT_YV12)<=0){
-	printf("yv12 not supported by next filter/vo :(\n");
+	mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_WarnNextFilterDoesntSupport, "YV12");
 	return 0;
     }