Commit 9a9a3eaf authored by Petri Hintukainen's avatar Petri Hintukainen

BD-J: Reset profile at startup

Fixes profile properties when playing second disc with a different profile
parent b2d5b093
......@@ -272,6 +272,7 @@ public class Libbluray {
boolean p5 = (profile & 0x10) != 0;
boolean p6 = ((profile & 0x1f) == 0) && (version >= 0x0300);
resetProfile();
if (!p6) {
System.setProperty("bluray.profile.1", "YES");
System.setProperty("bluray.p1.version.major", "1");
......@@ -386,6 +387,7 @@ public class Libbluray {
}
classLoaderAdapter = null;
loaderAdapter = null;
booted = false;
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment