[libbluray-devel] BDRootWindow: do not sync if not visible
hpi1
git at videolan.org
Sat Mar 30 01:39:08 CET 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Mar 17 10:21:37 2013 +0200| [454ee0ec2c4cdfb200bc27fb7e397ad0dc5b0bbf] | committer: hpi1
BDRootWindow: do not sync if not visible
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=454ee0ec2c4cdfb200bc27fb7e397ad0dc5b0bbf
---
src/libbluray/bdj/java/java/awt/BDRootWindow.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/libbluray/bdj/java/java/awt/BDRootWindow.java b/src/libbluray/bdj/java/java/awt/BDRootWindow.java
index 73f8cb3..3d94a99 100644
--- a/src/libbluray/bdj/java/java/awt/BDRootWindow.java
+++ b/src/libbluray/bdj/java/java/awt/BDRootWindow.java
@@ -87,6 +87,10 @@ public class BDRootWindow extends Frame {
}
public void notifyChanged() {
+ if (!isVisible()) {
+ org.videolan.Logger.getLogger("BDRootWindow").error("sync(): not visible");
+ return;
+ }
synchronized (this) {
changeCount++;
if (timerTask == null) {
More information about the libbluray-devel
mailing list