Package 

Class WriteAlwaysValidator

  • All Implemented Interfaces:
    com.otaliastudios.transcoder.validator.Validator

    
    public class WriteAlwaysValidator
     implements Validator
                        

    A Validator that always writes to target file, no matter the track status, presence of tracks and so on. The output container file might be empty or unnecessary.

    • Method Summary

      Modifier and Type Method Description
      boolean validate(@NonNull() TrackStatus videoStatus, @NonNull() TrackStatus audioStatus) Return true if the transcoding should proceed, false otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • validate

         boolean validate(@NonNull() TrackStatus videoStatus, @NonNull() TrackStatus audioStatus)

        Return true if the transcoding should proceed, false otherwise.

        Parameters:
        videoStatus - the status of the video track
        audioStatus - the status of the audio track