mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-24 20:20:18 +08:00
Fixed stupid bug relating to multiple cards on athlons
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7946 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+5
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user