aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-01-29 06:08:35 +0100
committerSven Göthel <[email protected]>2024-01-29 06:08:35 +0100
commit670286747af423781aa4f54062aa34345d32a397 (patch)
treea9e38f8af6cfec2e6dbe7d92b5afd72f97ed4b63 /src/jogl/classes/com/jogamp/opengl/util
parenta19f810c9618e2fa6829f1c157d2e1a88ca178de (diff)
GLMediaPlayer: Add getSubtitleCodec()
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java10
1 files changed, 8 insertions, 2 deletions
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 698504205..91211df58 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java
@@ -781,18 +781,24 @@ public interface GLMediaPlayer extends TextureSequence {
/**
* <i>Warning:</i> Optional information, may not be supported by implementation.
- * @return the code of the video stream, if available
+ * @return the codec of the video stream, if available
*/
public String getVideoCodec();
/**
* <i>Warning:</i> Optional information, may not be supported by implementation.
- * @return the code of the audio stream, if available
+ * @return the codec of the audio stream, if available
*/
public String getAudioCodec();
/**
* <i>Warning:</i> Optional information, may not be supported by implementation.
+ * @return the codec of the subtitle stream, if available
+ */
+ public String getSubtitleCodec();
+
+ /**
+ * <i>Warning:</i> Optional information, may not be supported by implementation.
* @return the total number of video frames
*/
public int getVideoFrames();