diff options
| author | Konstantin <const@const.me> | 2023-02-03 16:07:54 +0100 |
|---|---|---|
| committer | Konstantin <const@const.me> | 2023-02-03 16:07:54 +0100 |
| commit | 3ba8e6389679007445f4fc1c52439cb0df3ddba0 (patch) | |
| tree | 0bffa67da50e7042f745f4c9aad72b2f046feeec /Examples/TranscribeCS/TranscribeCS.cs | |
| parent | 671ca710ad3f0d3a64af7b84af1025e2a0b68296 (diff) | |
Bugfix, incorrect output of command-line examples when launched with multiple input files
Diffstat (limited to 'Examples/TranscribeCS/TranscribeCS.cs')
| -rw-r--r-- | Examples/TranscribeCS/TranscribeCS.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/TranscribeCS/TranscribeCS.cs b/Examples/TranscribeCS/TranscribeCS.cs index d94ed21..65239f1 100644 --- a/Examples/TranscribeCS/TranscribeCS.cs +++ b/Examples/TranscribeCS/TranscribeCS.cs @@ -25,6 +25,8 @@ namespace TranscribeCS using iModel model = Library.loadModel( cla.model ); using Context context = model.createContext(); cla.apply( ref context.parameters ); + // When there're multiple input files, assuming they're independent clips + context.parameters.setFlag( eFullParamsFlags.NoContext, true ); using iMediaFoundation mf = Library.initMediaFoundation(); Transcribe transcribe = new Transcribe( cla ); |
