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,12 +12,15 @@
|
||||||
|
|
||||||
#include "../libvo/fastmemcpy.h"
|
#include "../libvo/fastmemcpy.h"
|
||||||
#include "../postproc/rgb2rgb.h"
|
#include "../postproc/rgb2rgb.h"
|
||||||
|
#include "vf_scale.h"
|
||||||
|
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
|
|
||||||
static int config(struct vf_instance_s* vf,
|
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");
|
||||||
|
|
Loading…
Reference in New Issue