Skip to content

Commit

Permalink
Merge pull request #458 from happycube/issue-454
Browse files Browse the repository at this point in the history
Fix for issue #454
  • Loading branch information
Simon Inns authored Feb 7, 2020
2 parents 7a2b24e + 9dada03 commit e14594d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ld-discmap/discmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ qint32 DiscMap::getSecondFieldNumber(qint32 frameNumber) const
bool DiscMap::saveTargetMetadata(QFileInfo outputFileInfo)
{
qint32 notifyInterval = m_numberOfFrames / 50;
if (notifyInterval < 1) notifyInterval = 1;

LdDecodeMetaData targetMetadata;
LdDecodeMetaData::VideoParameters sourceVideoParameters = ldDecodeMetaData->getVideoParameters();

Expand Down
2 changes: 2 additions & 0 deletions tools/ld-discmap/discmapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,8 @@ bool DiscMapper::saveDiscMap(DiscMap &discMap)

qInfo() << "Saving target video frames...";
qint32 notifyInterval = discMap.numberOfFrames() / 50;
if (notifyInterval < 1) notifyInterval = 1;

for (qint32 frameNumber = 0; frameNumber < discMap.numberOfFrames(); frameNumber++) {
bool writeFail = false;

Expand Down

0 comments on commit e14594d

Please sign in to comment.