diff options
author | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-28 17:08:37 +0000 |
---|---|---|
committer | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-28 17:08:37 +0000 |
commit | a64160a3bdc601dc45d4ebf47ebbc7faaf4f8095 (patch) | |
tree | 97001f5eaa67b4c696d24f29e8ffa7e49b530f4d /libvo | |
parent | ba37db1370835268b99ed0fe7d8776d1b751e835 (diff) | |
download | mpv-a64160a3bdc601dc45d4ebf47ebbc7faaf4f8095.tar.bz2 mpv-a64160a3bdc601dc45d4ebf47ebbc7faaf4f8095.tar.xz |
Fixed stupid bug relating to multiple cards on athlons
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7946 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_dxr3.c | 7 |
1 files 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 */ |