mirror of https://github.com/mpv-player/mpv
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10994 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4f74f2c396
commit
c367f8074e
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "../libvo/fastmemcpy.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,
|
||||
unsigned int flags, unsigned int outfmt){
|
||||
|
||||
sws_rgb2rgb_init(get_sws_cpuflags());
|
||||
|
||||
if(vf_next_query_format(vf,IMGFMT_YUY2)<=0){
|
||||
printf("yuy2 not supported by next filter/vo :(\n");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue