From 670286747af423781aa4f54062aa34345d32a397 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Mon, 29 Jan 2024 06:08:35 +0100 Subject: GLMediaPlayer: Add getSubtitleCodec() --- src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java') 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,16 +781,22 @@ public interface GLMediaPlayer extends TextureSequence { /** * Warning: 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(); /** * Warning: 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(); + /** + * Warning: Optional information, may not be supported by implementation. + * @return the codec of the subtitle stream, if available + */ + public String getSubtitleCodec(); + /** * Warning: Optional information, may not be supported by implementation. * @return the total number of video frames -- cgit v1.2.3