mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 11:42:04 +00:00
set device id to 0 if the device selected on startup do not exist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14700 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0fa58569d7
commit
79380dc836
@ -560,6 +560,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
|
||||
{
|
||||
mp_msg(MSGT_VO, MSGL_FATAL, "Quartz error: Device ID %d do not exist, falling back to main device.\n", device_id);
|
||||
deviceHdl = GetMainDevice();
|
||||
device_id = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user