Exemple #1
0
 public void SetVideoCodecToken(IDisposable token)
 {
     if (token is FFmpegWriterForm.FormatPreset)
     {
         this.token = (FFmpegWriterForm.FormatPreset)token;
     }
     else
     {
         throw new ArgumentException("FFmpegWriter can only take its own codec tokens!");
     }
 }
Exemple #2
0
 public void SetDefaultVideoCodecToken()
 {
     token = FFmpegWriterForm.FormatPreset.GetDefaultPreset();
 }
Exemple #3
0
 public void SetVideoCodecToken(IDisposable token)
 {
     if (token is FFmpegWriterForm.FormatPreset)
         this.token = (FFmpegWriterForm.FormatPreset)token;
     else
         throw new ArgumentException("FFmpegWriter can only take its own codec tokens!");
 }
Exemple #4
0
 public void SetDefaultVideoCodecToken()
 {
     token = FFmpegWriterForm.FormatPreset.GetDefaultPreset();
 }