changeset 4359:266ebffd8fc9

no longer required to call preinit from init and query_format, mplayer.c does this
author alex
date Sat, 26 Jan 2002 18:35:29 +0000
parents b313f88cd0dc
children 3d9ef473a622
files libvo/vo_directfb.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directfb.c	Sat Jan 26 18:27:09 2002 +0000
+++ b/libvo/vo_directfb.c	Sat Jan 26 18:35:29 2002 +0000
@@ -321,7 +321,7 @@
 //    printf("No YUY2 %i\n",no_yuy2);
 //  }
   preinit_done=1;
-  return 1;
+  return 0;
 
 }
 
@@ -357,7 +357,7 @@
 	}
 
 
-        if (!preinit(NULL)) return 1;
+//        if (!preinit(NULL)) return 1;
 
 
   if (vm) {
@@ -598,7 +598,7 @@
 {
 	int ret = 0x4; /* osd/sub is supported on every bpp */
 
-        preinit(NULL);
+//        preinit(NULL);
 
 //        printf("Format query: %s\n",vo_format_name(format));
 	switch (format) {