changeset 6531:7bd342baa785

yvu9,if09,y8,y800 support and multifile fix
author alex
date Sun, 23 Jun 2002 18:00:42 +0000
parents f8d544dd22e9
children 9834d9980c45
files libvo/vo_xvidix.c libvo/vosub_vidix.c
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Sun Jun 23 17:34:29 2002 +0000
+++ b/libvo/vo_xvidix.c	Sun Jun 23 18:00:42 2002 +0000
@@ -236,6 +236,14 @@
 	case IMGFMT_YUY2:
 	    image_depth = 16;
 	    break;
+	case IMGFMT_YVU9:
+	case IMGFMT_IF09:
+	    image_depth = 9;
+	    break;
+	case IMGFMT_Y800:
+	case IMGFMT_Y8:
+	    image_depth = 8;
+	    break;
 	default:
 	    image_depth = 16;
 	    mp_msg(MSGT_VO, MSGL_FATAL, "Unknown image format: %s\n",
@@ -478,5 +486,6 @@
         }
       return VO_TRUE;
   }
-  return VO_NOTIMPL;
+  vidix_control(request, data);
+//  return VO_NOTIMPL;
 }
--- a/libvo/vosub_vidix.c	Sun Jun 23 17:34:29 2002 +0000
+++ b/libvo/vosub_vidix.c	Sun Jun 23 18:00:42 2002 +0000
@@ -761,8 +761,9 @@
 	*(uint32_t *)data = vidix_play.num_frames;
 	return VO_TRUE;
   }
+  return VO_NOTIMPL;
   // WARNING: we drop extra parameters (...) here!
-  return server_control(request,data); //VO_NOTIMPL;
+//  return server_control(request,data); //VO_NOTIMPL;
 }
 
 int vidix_preinit(const char *drvname,void *server)