diff options
author | Sven Göthel <[email protected]> | 2024-02-01 13:45:41 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-02-01 13:45:41 +0100 |
commit | 9fe460aecf8509c8305416bb9d77aadf6165c677 (patch) | |
tree | 049a23e9a76284159b883be13843426a9fac44d8 /src/jogl/classes/com/jogamp/opengl/util/av/SubEmptyEvent.java | |
parent | bb32e88ca0e8fa95b7d8503f5881fa256bf95e59 (diff) |
Bug 1494: Clarify SubtitleEvent class, adding general FFmpeg analog CodecID and hence also promoting VideoPixelFormat
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/av/SubEmptyEvent.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/av/SubEmptyEvent.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/av/SubEmptyEvent.java b/src/jogl/classes/com/jogamp/opengl/util/av/SubEmptyEvent.java index e97128a71..c49558c57 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/av/SubEmptyEvent.java +++ b/src/jogl/classes/com/jogamp/opengl/util/av/SubEmptyEvent.java @@ -27,17 +27,24 @@ */ package com.jogamp.opengl.util.av; -/** Empty {@link SubtitleEvent}, used for PGS bitmap subtitle signaling end of previous {@link SubTextureEvent}. */ +/** Empty {@link SubtitleEvent}, used for bitmap subtitle signaling end of previous {@link SubBitmapEvent}, e.g. {@link CodecID#HDMV_PGS}. */ public class SubEmptyEvent extends SubtitleEvent { /** * Empty event ctor */ public SubEmptyEvent(final int pts_start, final int pts_end) { - super(Format.EMPTY, pts_start, pts_end); + super(CodecID.NONE, pts_start, pts_end); } @Override + public final boolean isTextASS() { return false; } + @Override + public final boolean isBitmap() { return false; } + @Override + public final boolean isEmpty() { return true; } + + @Override public void release() {} // nothing to be released back to the owner @Override |