[libbluray-devel] Fixed handling of unimplemented feature in VideoControl.setClipRegion()
hpi1
git at videolan.org
Fri Mar 8 15:18:41 CET 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Mar 8 16:06:46 2013 +0200| [5ea055187c87eabc75f6888f8d275e9062fb0037] | committer: hpi1
Fixed handling of unimplemented feature in VideoControl.setClipRegion()
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=5ea055187c87eabc75f6888f8d275e9062fb0037
---
.../java/org/videolan/media/content/playlist/VideoControl.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/bdj/java/org/videolan/media/content/playlist/VideoControl.java b/src/libbluray/bdj/java/org/videolan/media/content/playlist/VideoControl.java
index 4628314..21c81d1 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/playlist/VideoControl.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/playlist/VideoControl.java
@@ -119,10 +119,11 @@ public abstract class VideoControl extends StreamControl implements VideoPresent
if ((vd.width == 0) || (vd.height == 0))
return new Rectangle(0, 0);
srcArea = getRectangleOnScreen(getNormalizedRectangle(vd, clipRect));
+
//TODO
- throw new Error("Not implemented"); // TODO implement
+ org.videolan.Logger.unimplemented("VideoControl", "setClipRegion");
- //return getRectangle(vd, srcArea);
+ return getRectangle(vd, srcArea);
}
public float[] supportsArbitraryHorizontalScaling() {
More information about the libbluray-devel
mailing list