[libbluray-devel] Fix logging unimplemented feature
hpi1
git at videolan.org
Thu May 11 16:38:10 CEST 2017
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon May 8 14:12:25 2017 +0300| [0b87d2e7d1b049e37832ff242a5f5e10b3ae3871] | committer: hpi1
Fix logging unimplemented feature
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=0b87d2e7d1b049e37832ff242a5f5e10b3ae3871
---
.../bdj/java/org/bluray/ti/selection/TitleContextImpl.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/libbluray/bdj/java/org/bluray/ti/selection/TitleContextImpl.java b/src/libbluray/bdj/java/org/bluray/ti/selection/TitleContextImpl.java
index 507fe53b..3c9f79e7 100644
--- a/src/libbluray/bdj/java/org/bluray/ti/selection/TitleContextImpl.java
+++ b/src/libbluray/bdj/java/org/bluray/ti/selection/TitleContextImpl.java
@@ -103,10 +103,12 @@ public class TitleContextImpl implements TitleContext {
public void select(Locator[] locators)
throws InvalidLocatorException, InvalidServiceComponentException, SecurityException {
- Logger.unimplemented("TitleContextImpl", "select(Locator[])");
+ if (locators.length != 1) {
+ Logger.unimplemented("TitleContextImpl", "select(Locator[])");
- for (int i = 0; i < locators.length; i++)
- logger.info(" [" + i + "]: " + locators[i]);
+ for (int i = 0; i < locators.length; i++)
+ logger.error(" [" + i + "]: " + locators[i]);
+ }
select(SIManager.createInstance().getService(locators[0]));
}
More information about the libbluray-devel
mailing list