From 4e237f265146b4c1e00856f19a8794aabf54d12c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 5 Oct 2015 13:48:18 +0200 Subject: Bug 1239: Fix GLMediaPlayer.CameraInputScheme API doc; GLMediaPlayerImpl.updateAttributes avoid div-by-zero (fps inf) --- .../com/jogamp/opengl/util/av/GLMediaPlayer.java | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/jogl/classes/com/jogamp') diff --git a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java index 662cf74b7..c2de32372 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java +++ b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java @@ -205,22 +205,29 @@ public interface GLMediaPlayer extends TextureSequence { * {@link Uri#scheme Uri scheme} name {@value} for camera input. E.g. camera:/0 * for the 1st camera device. *

- * The {@link Uri#path Uri path} is being used to identify the camera (ID), + * The {@link Uri#path Uri path} is being used to identify the camera (<id>), * where the root fwd-slash is being cut-off. *

*

- * The ID is usually an integer value indexing the camera + * The <id> is usually an integer value indexing the camera * ranging from [0..max-number]. *

*

+ * The <somewhere> is usually empty, since it would imply a networking camera protocol. + *

+ *

* The {@link Uri#query Uri query} is used to pass options to the camera * using ; as the separator. The latter avoids trouble w/ escaping. *

*
-     *    camera:/
-     *    camera://somewhere/
-     *    camera://somewhere/?width=640;height=480;rate=15
-     *    camera://somewhere/?size=640x480;rate=15
+     *    camera:/<id>
+     *    camera:/<id>?width=640;height=480;rate=15
+     *    camera:/<id>?size=640x480;rate=15
+     *    camera://<somewhere>/<id>
+     *    camera://<somewhere>/<id>?width=640;height=480;rate=15
+     *    camera://<somewhere>/<id>?size=640x480;rate=15
+     *    camera:///<id>?width=640;height=480;rate=15
+     *    camera:///<id>?size=640x480;rate=15
      * 
*
      *  Uri: [scheme:][//authority][path][?query][#fragment]
-- 
cgit v1.2.3