Add SOVERSION to libobs-opengl
Because libobs-opengl is a public library, it's customary to have SONAME embedded in the library file. Also remove the prefix override and remove the prefixing "lib" from the output name. This also requires us to pass the library file name to dlopen invocations.
This commit is contained in:
parent
6d2226bde8
commit
6095e7ef51
10 changed files with 32 additions and 10 deletions
|
|
@ -1421,13 +1421,13 @@ int OBSBasic::ResetVideo()
|
|||
ret = AttemptToResetVideo(&ovi);
|
||||
if (IS_WIN32 && ret != OBS_VIDEO_SUCCESS) {
|
||||
/* Try OpenGL if DirectX fails on windows */
|
||||
if (astrcmpi(ovi.graphics_module, "libobs-opengl") != 0) {
|
||||
if (astrcmpi(ovi.graphics_module, DL_OPENGL) != 0) {
|
||||
blog(LOG_WARNING, "Failed to initialize obs video (%d) "
|
||||
"with graphics_module='%s', retrying "
|
||||
"with graphics_module='%s'",
|
||||
ret, ovi.graphics_module,
|
||||
"libobs-opengl");
|
||||
ovi.graphics_module = "libobs-opengl";
|
||||
DL_OPENGL);
|
||||
ovi.graphics_module = DL_OPENGL;
|
||||
ret = AttemptToResetVideo(&ovi);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue