All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itshidu.ffmpeg.probe.FFmpegProbeResult Maven / Gradle / Ivy

package com.itshidu.ffmpeg.probe;

import com.google.common.collect.ImmutableList;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

import java.util.List;

/** TODO Make this immutable */
@SuppressFBWarnings(
  value = {"UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD"},
  justification = "POJO objects where the fields are populated by gson"
)
public class FFmpegProbeResult {
  public FFmpegError error;
  public FFmpegFormat format;
  public List streams;

  public FFmpegError getError() {
    return error;
  }

  public boolean hasError() {
    return error != null;
  }

  public FFmpegFormat getFormat() {
    return format;
  }

  public List getStreams() {
    return ImmutableList.copyOf(streams);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy