[libbluray-devel] Reset currently playing locator when playback changes
hpi1
git at videolan.org
Wed Jun 3 10:37:49 CEST 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Jun 2 12:21:16 2015 +0300| [fb43e1bdd7eadf4ef4b09871e948f546158bf899] | committer: hpi1
Reset currently playing locator when playback changes
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=fb43e1bdd7eadf4ef4b09871e948f546158bf899
---
.../bdj/java/org/videolan/media/content/playlist/Handler.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libbluray/bdj/java/org/videolan/media/content/playlist/Handler.java b/src/libbluray/bdj/java/org/videolan/media/content/playlist/Handler.java
index 57780d4..8728628 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/playlist/Handler.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/playlist/Handler.java
@@ -72,6 +72,7 @@ public class Handler extends BDHandler {
synchronized (this) {
try {
locator = new BDLocator(source.getLocator().toExternalForm());
+ currentLocator = null;
} catch (org.davic.net.InvalidLocatorException e) {
throw new IncompatibleSourceException();
}
@@ -340,6 +341,7 @@ public class Handler extends BDHandler {
if (pi == null)
throw new InvalidPlayListException();
this.locator = locator;
+ this.currentLocator = null;
baseMediaTime = 0;
if (state == Prefetched)
doPrefetch();
More information about the libbluray-devel
mailing list