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 bead281 commit 34afa14Copy full SHA for 34afa14
src/VideoThread.cpp
@@ -523,7 +523,7 @@ void VideoThread::run()
523
continue;
524
}
525
pkt_data = pkt.data.constData();
526
- if (frame.timestamp() <= 0)
+ if (frame.timestamp() < 0)
527
frame.setTimestamp(pkt.pts); // pkt.pts is wrong. >= real timestamp
528
const qreal pts = frame.timestamp();
529
d.pts_history.push_back(pts);
0 commit comments