diff dvdnav.c @ 54:cea44c0d638a src

Add more debug info for Menu language selection. Only do vm_start when we have to.
author jcdutton
date Fri, 05 Jul 2002 01:42:30 +0000
parents 578ce1d41479
children 5674fbd44f26
line wrap: on
line diff
--- a/dvdnav.c	Thu Jul 04 00:38:51 2002 +0000
+++ b/dvdnav.c	Fri Jul 05 01:42:30 2002 +0000
@@ -198,11 +198,11 @@
   if (this->file) DVDCloseFile(this->file);
   this->file = NULL;
     
-  if(!this->started) {
-    /* Start the VM */
-    vm_start(this->vm);
-    this->started = 1;
-  }
+  //if(!this->started) {
+  //  /* Start the VM */
+  //  vm_start(this->vm);
+  //  this->started = 1;
+  //}
 
   /* Start the read-ahead cache. */
   this->cache = dvdnav_read_cache_new(this);
@@ -282,11 +282,11 @@
 #ifdef LOG_DEBUG
   printf("starting vm\n");
 #endif
-  if(!this->started) {
-    /* Start the VM */
-    vm_start(this->vm);
-    this->started = 1;
-  }
+//  if(!this->started) {
+//    /* Start the VM */
+//    vm_start(this->vm);
+//    this->started = 1;
+//  }
 #ifdef LOG_DEBUG
   printf("unlocking\n");
 #endif
@@ -942,6 +942,10 @@
 
 /*
  * $Log$
+ * Revision 1.24  2002/07/05 01:42:30  jcdutton
+ * Add more debug info for Menu language selection.
+ * Only do vm_start when we have to.
+ *
  * Revision 1.23  2002/07/02 22:57:09  jcdutton
  * Rename some of the functions in vm.c to help readability.
  * Hopefully fix __FUNCTION__ problem. Use __func_ as recommended in C99.