bsv_movie_check - cleanup
This commit is contained in:
parent
67c67f566f
commit
281dd9b4ac
12
movie.c
12
movie.c
|
@ -557,19 +557,15 @@ static bool runloop_check_movie_init(void)
|
||||||
|
|
||||||
bool bsv_movie_check(void)
|
bool bsv_movie_check(void)
|
||||||
{
|
{
|
||||||
if (bsv_movie_state_handle && bsv_movie_state.movie_playback)
|
if (!bsv_movie_state_handle)
|
||||||
|
return runloop_check_movie_init();
|
||||||
|
|
||||||
|
if (bsv_movie_state.movie_playback)
|
||||||
{
|
{
|
||||||
if (!bsv_movie_state.movie_end)
|
if (!bsv_movie_state.movie_end)
|
||||||
return false;
|
return false;
|
||||||
return bsv_movie_check_movie_playback();
|
return bsv_movie_check_movie_playback();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!bsv_movie_state_handle)
|
|
||||||
{
|
|
||||||
if (bsv_movie_state_handle)
|
|
||||||
return false;
|
|
||||||
return runloop_check_movie_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
return runloop_check_movie_record();
|
return runloop_check_movie_record();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue