We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76c410 commit cf43b3bCopy full SHA for cf43b3b
src/AvTranscoder/transcoder/Transcoder.cpp
@@ -317,7 +317,7 @@ void Transcoder::process( IProgress& progress )
317
break;
318
319
AVStream* firstOutputStream = _outputFile.getFormatContext().streams[0];
320
- double duration = firstOutputStream->cur_dts * av_q2d( firstOutputStream->time_base );
+ double duration = av_q2d( firstOutputStream->time_base ) * firstOutputStream->cur_dts;
321
322
if( progress.progress( duration, totalDuration ) == eJobStatusCancel )
323
{
0 commit comments