Skip to content

Commit

Permalink
Fix missing period in movie exporter check
Browse files Browse the repository at this point in the history
This should not make any difference because the file dialog will
verify the extension, but it's good to be consistent with the other
format checks.
  • Loading branch information
scribblemaniac committed May 24, 2024
1 parent ad15a2b commit 20a29c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_lib/src/movieexporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ Status MovieExporter::generateMovie(
args << "-plays" << (loop ? "0" : "1");
}

if (strOutputFile.endsWith("mp4", Qt::CaseInsensitive))
if (strOutputFile.endsWith(".mp4", Qt::CaseInsensitive))
{
args << "-pix_fmt" << "yuv420p";
}
Expand Down

0 comments on commit 20a29c3

Please sign in to comment.