Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb977583

Browse files
author
Clement Champetier
committed
VideoProperties: fix progress of full analysis
The current frame is already decoded when we call the callback.
1 parentb01356f commitb977583

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/AvTranscoder/properties/VideoProperties.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,7 @@ size_t VideoProperties::analyseFull(IProgress& progress)
609609
_nbFrames = nbDecodedFrames;
610610
while(decoder.decodeNextFrame(frame))
611611
{
612-
progress.progress(_nbFrames, estimateNbFrames);
613-
++_nbFrames;
612+
progress.progress(++_nbFrames, estimateNbFrames);
614613
}
615614

616615
// Check GOP size

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp