Class SubtitleEvent

    • Constructor Detail

      • SubtitleEvent

        public SubtitleEvent​(SubtitleEvent.Type type,
                             CodecID codec,
                             String lang,
                             int pts_start,
                             int pts_end)
        Parameters:
        type -
        codec - the CodecID
        lang - language code, supposed to be 3-letters of `ISO 639-2 language codes`
        pts_start - pts start in ms, see pts_start
        pts_end - pts end in ms, see pts_end
    • Method Detail

      • release

        public abstract void release()
        Release the resources, if any, back to the owner.
      • getDuration

        public final int getDuration()
      • isEndDefined

        public final boolean isEndDefined()
        See pts_end.
      • getStartString

        public final String getStartString()