diff options
Diffstat (limited to 'libmpcodecs/vf_yuy2.c')
-rw-r--r-- | libmpcodecs/vf_yuy2.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libmpcodecs/vf_yuy2.c b/libmpcodecs/vf_yuy2.c index 162671eaab..987de0b1ce 100644 --- a/libmpcodecs/vf_yuy2.c +++ b/libmpcodecs/vf_yuy2.c @@ -23,7 +23,6 @@ #include "config.h" #include "mp_msg.h" -#include "help_mp.h" #include "img_format.h" #include "mp_image.h" @@ -34,21 +33,21 @@ //===========================================================================// -static int config(struct vf_instance *vf, +static int config(struct vf_instance* vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt){ sws_rgb2rgb_init(get_sws_cpuflags()); if(vf_next_query_format(vf,IMGFMT_YUY2)<=0){ - mp_msg(MSGT_VFILTER, MSGL_WARN, MSGTR_MPCODECS_WarnNextFilterDoesntSupport, "YUY2"); + mp_tmsg(MSGT_VFILTER, MSGL_WARN, "%s not supported by next filter/vo :(\n", "YUY2"); return 0; } return vf_next_config(vf,width,height,d_width,d_height,flags,IMGFMT_YUY2); } -static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ +static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts){ mp_image_t *dmpi; // hope we'll get DR buffer: @@ -70,7 +69,7 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ //===========================================================================// -static int query_format(struct vf_instance *vf, unsigned int fmt){ +static int query_format(struct vf_instance* vf, unsigned int fmt){ switch(fmt){ case IMGFMT_YV12: case IMGFMT_I420: |