changeset 7247:95740a8fc77f

VDCTRL_QUERY_FORMAT isn't required for constant csp support
author arpi
date Mon, 02 Sep 2002 20:10:10 +0000
parents 6db11656e0e7
children cd12b5ad8f66
files libmpcodecs/vd_lcl.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_lcl.c	Mon Sep 02 19:51:00 2002 +0000
+++ b/libmpcodecs/vd_lcl.c	Mon Sep 02 20:10:10 2002 +0000
@@ -96,13 +96,6 @@
 // to set/get/query special features/parameters
 static int control(sh_video_t *sh,int cmd,void* arg,...)
 {
-  switch(cmd) {
-    case VDCTRL_QUERY_FORMAT:
-      if  (*((int*)arg) == IMGFMT_BGR24)
-        return CONTROL_TRUE;
-      else
-        return CONTROL_FALSE;
-  }
   return CONTROL_UNKNOWN;
 }