changeset 10802:72896d23ab64

1000l
author alex
date Tue, 02 Sep 2003 17:44:38 +0000
parents 6c56b4aff706
children 15425a07e13f
files input/input.c libvo/vo_yuv4mpeg.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/input/input.c	Tue Sep 02 17:26:33 2003 +0000
+++ b/input/input.c	Tue Sep 02 17:44:38 2003 +0000
@@ -172,8 +172,8 @@
   { KEY_KP8, "KP8" },
   { KEY_KP9, "KP9" },
   { KEY_KPDEL, "KP_DEL" },
-  { KEY_KPDEC, "KP_DEL" },
-  { KEY_KPINS, "KP0" },
+  { KEY_KPDEC, "KP_DEC" },
+  { KEY_KPINS, "KP_INS" },
   { KEY_KPENTER, "KP_ENTER" },
   { MOUSE_BTN0, "MOUSE_BTN0" },
   { MOUSE_BTN1, "MOUSE_BTN1" },
--- a/libvo/vo_yuv4mpeg.c	Tue Sep 02 17:26:33 2003 +0000
+++ b/libvo/vo_yuv4mpeg.c	Tue Sep 02 17:44:38 2003 +0000
@@ -36,7 +36,7 @@
 
 #include "fastmemcpy.h"
 #include "../postproc/rgb2rgb.h"
-
+#include "../libmpcodecs/vf_scale.h"
 
 static vo_info_t info = 
 {
@@ -106,6 +106,7 @@
 	
 	if(using_format != IMGFMT_YV12)
 	{
+		sws_rgb2rgb_init(get_sws_cpuflags());
 		rgb_buffer = malloc(image_width * image_height * 3);
 		if (!rgb_buffer)
 		{