Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
18003:9fc72c7291d5 | 18004:bcd805923554 |
---|---|
3 #include <string.h> | 3 #include <string.h> |
4 #include <inttypes.h> | 4 #include <inttypes.h> |
5 | 5 |
6 #include "config.h" | 6 #include "config.h" |
7 #include "mp_msg.h" | 7 #include "mp_msg.h" |
8 #include "help_mp.h" | |
8 | 9 |
9 #include "img_format.h" | 10 #include "img_format.h" |
10 #include "mp_image.h" | 11 #include "mp_image.h" |
11 #include "vf.h" | 12 #include "vf.h" |
12 | 13 |
18 static int config(struct vf_instance_s* vf, | 19 static int config(struct vf_instance_s* vf, |
19 int width, int height, int d_width, int d_height, | 20 int width, int height, int d_width, int d_height, |
20 unsigned int flags, unsigned int outfmt){ | 21 unsigned int flags, unsigned int outfmt){ |
21 | 22 |
22 if(vf_next_query_format(vf,IMGFMT_YV12)<=0){ | 23 if(vf_next_query_format(vf,IMGFMT_YV12)<=0){ |
23 printf("yv12 not supported by next filter/vo :(\n"); | 24 mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_WarnNextFilterDoesntSupport, "YVU9"); |
24 return 0; | 25 return 0; |
25 } | 26 } |
26 | 27 |
27 return vf_next_config(vf,width,height,d_width,d_height,flags,IMGFMT_YV12); | 28 return vf_next_config(vf,width,height,d_width,d_height,flags,IMGFMT_YV12); |
28 } | 29 } |