On macos, ifSDL_Init(SDL_INIT_VIDEO)is called on a thread other than the main thread, it'll throw an objective C exception and pop up a macos crash dialog. I'd expectSDL_Initto return false and set an error message instead. I ran into this while trying to call some SDL functions ...
在没有SDL_INIT_VIDEO的情况下使用SDL_INIT_JOYSTICK 我已经失去了一些时间试图为我的应用程序使用SDL获得操纵杆支持,主要是因为初始化步骤,其中: SDL_Init(SDL_INIT_JOYSTICK|SDL_INIT_VIDEO); SDL_JoystickEventState(SDL_ENABLE); 如果我刚刚初始化操纵杆,它就无法工作,它需要与视频一起完成。我希望这是非常简...
Fatal error: exception Sdl.SDL_init_exception("DirectFBCreate: Initialization error!")" > Cannot use video.add_text since SDL init changes > --- > > Key: LS-478 > URL: http://dev.sourcefabric.org/browse/LS-478 > Project: Liquidsoap > Issue Type: Bug > Components: Liquidsoap > ...