001package net.bramp.ffmpeg.probe;
002
003import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
004import net.bramp.ffmpeg.shared.CodecType;
005
006@SuppressFBWarnings(
007    value = {"UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD"},
008    justification = "POJO objects where the fields are populated by gson")
009public class FFmpegPacket implements FFmpegFrameOrPacket {
010  public CodecType codec_type;
011  public int stream_index;
012  public long pts;
013  public double pts_time;
014  public long dts;
015  public double dts_time;
016  public long duration;
017  public float duration_time;
018  public String size;
019  public String pos;
020  public String flags;
021
022  public CodecType getCodecType() {
023    return codec_type;
024  }
025
026  public int getStreamIndex() {
027    return stream_index;
028  }
029
030  public long getPts() {
031    return pts;
032  }
033
034  public double getPtsTime() {
035    return pts_time;
036  }
037
038  public long getDts() {
039    return dts;
040  }
041
042  public double getDtsTime() {
043    return dts_time;
044  }
045
046  public long getDuration() {
047    return duration;
048  }
049
050  public float getDurationTime() {
051    return duration_time;
052  }
053
054  public String getSize() {
055    return size;
056  }
057
058  public String getPos() {
059    return pos;
060  }
061
062  public String getFlags() {
063    return flags;
064  }
065}