git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10994 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-10-03 22:32:28 +00:00
parent 4f74f2c396
commit c367f8074e
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include "../libvo/fastmemcpy.h" #include "../libvo/fastmemcpy.h"
#include "../postproc/rgb2rgb.h" #include "../postproc/rgb2rgb.h"
#include "vf_scale.h"
//===========================================================================// //===========================================================================//
@ -19,6 +20,8 @@ static int config(struct vf_instance_s* vf,
int width, int height, int d_width, int d_height, int width, int height, int d_width, int d_height,
unsigned int flags, unsigned int outfmt){ unsigned int flags, unsigned int outfmt){
sws_rgb2rgb_init(get_sws_cpuflags());
if(vf_next_query_format(vf,IMGFMT_YUY2)<=0){ if(vf_next_query_format(vf,IMGFMT_YUY2)<=0){
printf("yuy2 not supported by next filter/vo :(\n"); printf("yuy2 not supported by next filter/vo :(\n");
return 0; return 0;