comparison 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
comparison
equal deleted inserted replaced
18003:9fc72c7291d5 18004:bcd805923554
21 #include <string.h> 21 #include <string.h>
22 #include <inttypes.h> 22 #include <inttypes.h>
23 23
24 #include "config.h" 24 #include "config.h"
25 #include "mp_msg.h" 25 #include "mp_msg.h"
26 #include "help_mp.h"
26 27
27 #include "img_format.h" 28 #include "img_format.h"
28 #include "mp_image.h" 29 #include "mp_image.h"
29 #include "vf.h" 30 #include "vf.h"
30 31
49 static int config(struct vf_instance_s* vf, 50 static int config(struct vf_instance_s* vf,
50 int width, int height, int d_width, int d_height, 51 int width, int height, int d_width, int d_height,
51 unsigned int flags, unsigned int outfmt){ 52 unsigned int flags, unsigned int outfmt){
52 53
53 if(vf_next_query_format(vf,IMGFMT_YV12)<=0){ 54 if(vf_next_query_format(vf,IMGFMT_YV12)<=0){
54 printf("yv12 not supported by next filter/vo :(\n"); 55 mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_WarnNextFilterDoesntSupport, "YV12");
55 return 0; 56 return 0;
56 } 57 }
57 58
58 //hmm whats the meaning of these ... ;) 59 //hmm whats the meaning of these ... ;)
59 d_width= width= WIDTH; 60 d_width= width= WIDTH;