From a64160a3bdc601dc45d4ebf47ebbc7faaf4f8095 Mon Sep 17 00:00:00 2001 From: mswitch Date: Mon, 28 Oct 2002 17:08:37 +0000 Subject: [PATCH] Fixed stupid bug relating to multiple cards on athlons git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7946 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_dxr3.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 1fbb56de24..e2fd2d4f9f 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -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 @@ static uint32_t preinit(const char *arg) } /* 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 @@ static uint32_t preinit(const char *arg) /* 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 */