(Android) Video init/deinit will only be invoked frm Java side/
surface - so ifndef it out for ANDROID
This commit is contained in:
parent
9a38d021c2
commit
7f0f6bc0a7
4
driver.c
4
driver.c
|
@ -235,14 +235,18 @@ void init_drivers(void)
|
||||||
{
|
{
|
||||||
adjust_system_rates();
|
adjust_system_rates();
|
||||||
|
|
||||||
|
#ifndef ANDROID
|
||||||
init_video_input();
|
init_video_input();
|
||||||
|
#endif
|
||||||
init_audio();
|
init_audio();
|
||||||
}
|
}
|
||||||
|
|
||||||
void uninit_drivers(void)
|
void uninit_drivers(void)
|
||||||
{
|
{
|
||||||
uninit_audio();
|
uninit_audio();
|
||||||
|
#ifndef ANDROID
|
||||||
uninit_video_input();
|
uninit_video_input();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_DYLIB
|
#ifdef HAVE_DYLIB
|
||||||
|
|
Loading…
Reference in New Issue