[libbluray-devel] media player: reset initial rate after stop

hpi1 git at videolan.org
Wed Apr 20 11:59:56 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Apr 20 12:55:11 2016 +0300| [40916131133aa4d8fc84ab1f7e4c266868df84aa] | committer: hpi1

media player: reset initial rate after stop

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=40916131133aa4d8fc84ab1f7e4c266868df84aa
---

 src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java b/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
index 77953e0..1a6febb 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
@@ -409,6 +409,7 @@ public abstract class BDHandler implements Player, ServiceContentHandler {
 
     protected ControllerErrorEvent doStop() {
         baseMediaTime = getMediaNanoseconds();
+        rate = 1.0f;
         return null;
     }
 



More information about the libbluray-devel mailing list