diff libmpcodecs/vf_yvu9.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 497ebe3ecc2b
line wrap: on
line diff
--- a/libmpcodecs/vf_yvu9.c	Thu Mar 30 23:47:03 2006 +0000
+++ b/libmpcodecs/vf_yvu9.c	Fri Mar 31 00:15:47 2006 +0000
@@ -5,6 +5,7 @@
 
 #include "config.h"
 #include "mp_msg.h"
+#include "help_mp.h"
 
 #include "img_format.h"
 #include "mp_image.h"
@@ -20,7 +21,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, "YVU9");
 	return 0;
     }