mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 816575 - Remove call to SetRenderAndroidVM when not using internal renderer. r=tterribe
This commit is contained in:
parent
769055c6ed
commit
6b2ab16f81
@ -216,11 +216,13 @@ int VideoEngine::SetAndroidObjects(void* javaVM, void* javaContext) {
|
||||
"Could not set capture Android VM");
|
||||
return -1;
|
||||
}
|
||||
#ifdef WEBRTC_INCLUDE_INTERNAL_VIDEO_RENDER
|
||||
if (SetRenderAndroidVM(javaVM) != 0) {
|
||||
WEBRTC_TRACE(kTraceError, kTraceVideo, g_vie_active_instance_counter,
|
||||
"Could not set render Android VM");
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
#else
|
||||
WEBRTC_TRACE(kTraceError, kTraceVideo, g_vie_active_instance_counter,
|
||||
|
Loading…
Reference in New Issue
Block a user