Beispiel #1
0
 public AudioConfig Clone()
 {
     return(new AudioConfig()
     {
         Codecs = Codecs?.ToDictionary(p => p.Key, p => p.Value?.Clone()),
         PassthruMatchingTracks = PassthruMatchingTracks
     });
 }
Beispiel #2
0
 public VideoConfig Clone()
 {
     return(new VideoConfig()
     {
         Codecs = Codecs?.ToDictionary(p => p.Key, p => p.Value?.Clone()),
         SizePresets = SizePresets?.ToDictionary(p => p.Key, p => p.Value),
         AspectRatioPresets = AspectRatioPresets?.ToDictionary(p => p.Key, p => p.Value),
         SizeDivisor = SizeDivisor,
         Deinterlace = Deinterlace
     });
 }
Beispiel #3
0
 public VideoConfig Clone()
 {
     return(new VideoConfig()
     {
         Codecs = Codecs?.ToDictionary(p => p.Key, p => p.Value?.Clone()),
         CropDetectOptions = CropDetectOptions,
         DeinterlaceOptions = DeinterlaceOptions,
         DenoiseOptions = DenoiseOptions,
         TonemapOptions = TonemapOptions,
     });
 }