You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix Android startup movies not always playing
#jira UE-49679 #ue4 #android #rb Peter.Sauerbrei #fyi Jack.Porter #lockdown Cristina.Riveron [CL 3645484 by Chris Babcock in 4.18 branch]
This commit is contained in:
@@ -418,6 +418,34 @@ public class MediaPlayer14
|
||||
return -1;
|
||||
}
|
||||
|
||||
public void prepare() throws IOException, IllegalStateException
|
||||
{
|
||||
synchronized(this)
|
||||
{
|
||||
Completed = false;
|
||||
try
|
||||
{
|
||||
super.prepare();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
GameActivity.Log.debug("MediaPlayer14: Prepare IOException: " + e.toString());
|
||||
throw e;
|
||||
}
|
||||
catch (IllegalStateException e)
|
||||
{
|
||||
GameActivity.Log.debug("MediaPlayer14: Prepare IllegalStateExecption: " + e.toString());
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
GameActivity.Log.debug("MediaPlayer14: Prepare Exception: " + e.toString());
|
||||
throw e;
|
||||
}
|
||||
Prepared = true;
|
||||
}
|
||||
}
|
||||
|
||||
public void start()
|
||||
{
|
||||
synchronized(this)
|
||||
|
||||
Reference in New Issue
Block a user