From b2bd320e2b688097f0d5171eb6e89e985909c7b7 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Sat, 27 Jan 2024 07:58:44 +0100 Subject: GLMediaPlayer: Support tile metadata --- src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/jogl/classes/com/jogamp/opengl') 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 d129af621..646280f08 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java +++ b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java @@ -862,6 +862,14 @@ public interface GLMediaPlayer extends TextureSequence { /** Returns the height of the video. */ public int getHeight(); + /** + * Returns title meta-data from stream, available after {@link State#Initialized} is reached after issuing {@link #playStream(Uri, int, int, int, int)}. + *

+ * In case no title meta-data is being used, the {@link #getUri()} basename w/o suffix is being returned. + *

+ */ + public String getTitle(); + /** Returns {@link Chapter} meta-data from stream, available after {@link State#Initialized} is reached after issuing {@link #playStream(Uri, int, int, int, int)}. */ public Chapter[] getChapters(); /** -- cgit v1.2.3