changeset 7945:32939f2b3d2e

Fixed stupid bug relating to multiple cards on athlons
author mswitch
date Mon, 28 Oct 2002 17:08:37 +0000
parents fa80c909539b
children f483ab704252
files libvo/vo_dxr3.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Mon Oct 28 15:04:48 2002 +0000
+++ b/libvo/vo_dxr3.c	Mon Oct 28 17:08:37 2002 +0000
@@ -6,6 +6,9 @@
  */
 
 /* ChangeLog added 2002-01-10
+ * 2002-10-28:
+ *  Fixed multicard bug on athlons
+ *
  * 2002-07-18:
  *  Disabled spuenc support, this is still not stable enough =(
  *
@@ -541,7 +544,7 @@
 	}
 
 	/* Open the video interface */
-	if (arg && !noprebuf) {
+	if (arg && arg[0]) {
 		sprintf(devname, "/dev/em8300_mv-%s", arg);
 	} else {
 		/* Try new naming scheme by default */
@@ -565,7 +568,7 @@
 	
 	/* Open the subpicture interface */
 	fdflags |= O_NONBLOCK;
-	if (arg && !noprebuf) {
+	if (arg && arg[0]) {
 		sprintf(devname, "/dev/em8300_sp-%s", arg);
 	} else {
 		/* Try new naming scheme by default */