Package 

Class PassThroughResizer

  • All Implemented Interfaces:
    com.otaliastudios.transcoder.resize.Resizer

    
    public class PassThroughResizer
     implements Resizer
                        

    A Resizer that returns the input size unchanged.

    • Method Summary

      Modifier and Type Method Description
      Size getOutputSize(@NonNull() Size inputSize) Parses the input size and returns the output.This method should throw an exception if the input size is not processable.
      • Methods inherited from class java.lang.Object

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

      • PassThroughResizer

        PassThroughResizer()
    • Method Detail

      • getOutputSize

        @NonNull() Size getOutputSize(@NonNull() Size inputSize)

        Parses the input size and returns the output.This method should throw an exception if the input size is not processable.

        Parameters:
        inputSize - the input video size