mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 23:19:30 -06:00
added logging
This commit is contained in:
@@ -71,14 +71,17 @@ public class FfmpegBuilderDefaultOriginalLanguage: FfmpegBuilderNode
|
||||
return 2;
|
||||
}
|
||||
args.Logger?.ILog("OriginalLanguage: " + originalLanguage);
|
||||
args.Logger?.ILog("Stream Type: " + StreamType));
|
||||
|
||||
int changes = 0;
|
||||
if(StreamType is "Audio" or "Both")
|
||||
{
|
||||
args.Logger?.ILog("Processing Audio Tracks");
|
||||
changes += ProcessStreams(args, Model.AudioStreams, originalLanguage);
|
||||
}
|
||||
if(StreamType is "Subtitle" or "Both")
|
||||
{
|
||||
args.Logger?.ILog("Processing Subtitle Tracks");
|
||||
changes += ProcessStreams(args, Model.SubtitleStreams, originalLanguage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user