aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util/av/SubBitmapEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/av/SubBitmapEvent.java')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/av/SubBitmapEvent.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/av/SubBitmapEvent.java b/src/jogl/classes/com/jogamp/opengl/util/av/SubBitmapEvent.java
index 68f25d046..0032aeffc 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/av/SubBitmapEvent.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/av/SubBitmapEvent.java
@@ -61,20 +61,13 @@ public class SubBitmapEvent extends SubtitleEvent {
* @param owner {@link Texture} owner code-stub to release the texture
*/
public SubBitmapEvent(final CodecID codec, final Vec2i pos, final Vec2i dim, final Texture tex, final int pts_start, final int pts_end, final TextureOwner owner) {
- super(codec, pts_start, pts_end);
+ super(SubtitleEvent.Type.Bitmap, codec, pts_start, pts_end);
position = pos;
dimension = dim;
texture = tex;
this.owner = owner;
}
- @Override
- public final boolean isTextASS() { return false; }
- @Override
- public final boolean isBitmap() { return true; }
- @Override
- public final boolean isEmpty() { return false; }
-
/**
* {@inheritDoc}
* <p>