toVp9FramerateConversionAlgorithm method

Vp9FramerateConversionAlgorithm toVp9FramerateConversionAlgorithm()

Implementation

Vp9FramerateConversionAlgorithm toVp9FramerateConversionAlgorithm() {
  switch (this) {
    case 'DUPLICATE_DROP':
      return Vp9FramerateConversionAlgorithm.duplicateDrop;
    case 'INTERPOLATE':
      return Vp9FramerateConversionAlgorithm.interpolate;
    case 'FRAMEFORMER':
      return Vp9FramerateConversionAlgorithm.frameformer;
  }
  throw Exception(
      '$this is not known in enum Vp9FramerateConversionAlgorithm');
}