File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/AvTranscoder/transcoder Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ void Transcoder::process( IProgress& progress )
278
278
279
279
preProcessCodecLatency ();
280
280
281
- double totalDuration = getOutputDuration ();
281
+ double outputDuration = getOutputDuration ();
282
282
283
283
size_t frame = 0 ;
284
284
bool frameProcessed = true ;
@@ -292,11 +292,11 @@ void Transcoder::process( IProgress& progress )
292
292
double progressDuration = _outputFile.getStream ( 0 ).getStreamDuration ();
293
293
294
294
// check progressDuration
295
- if ( progressDuration > totalDuration )
295
+ if ( progressDuration > outputDuration )
296
296
break ;
297
297
298
298
// check if JobStatusCancel
299
- if ( progress.progress ( ( progressDuration > totalDuration )? totalDuration : progressDuration, totalDuration ) == eJobStatusCancel )
299
+ if ( progress.progress ( ( progressDuration > outputDuration ) ? outputDuration : progressDuration, outputDuration ) == eJobStatusCancel )
300
300
break ;
301
301
302
302
++frame;
You can’t perform that action at this time.
0 commit comments