[Mplayer-cvslog] CVS: main/libmpcodecs vf_yuy2.c,1.7,1.8
Alex Beregszaszi
alex at mplayerhq.hu
Sat Oct 4 00:32:42 CEST 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv9801
Modified Files:
vf_yuy2.c
Log Message:
10l
Index: vf_yuy2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_yuy2.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vf_yuy2.c 19 Apr 2003 02:48:53 -0000 1.7
+++ vf_yuy2.c 3 Oct 2003 22:32:28 -0000 1.8
@@ -12,12 +12,15 @@
#include "../libvo/fastmemcpy.h"
#include "../postproc/rgb2rgb.h"
+#include "vf_scale.h"
//===========================================================================//
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");
More information about the MPlayer-cvslog
mailing list