You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fix regression caused by Codacy tweaks
This commit is contained in:
@@ -985,6 +985,9 @@ void FFmpegWriter::flush_encoders() {
|
||||
if (error_code < 0) {
|
||||
ZmqLogger::Instance()->AppendDebugMethod("FFmpegWriter::flush_encoders ERROR [" + (std::string)av_err2str(error_code) + "]", "error_code", error_code);
|
||||
}
|
||||
if (!got_packet) {
|
||||
break;
|
||||
}
|
||||
|
||||
// Since the PTS can change during encoding, set the value again. This seems like a huge hack,
|
||||
// but it fixes lots of PTS related issues when I do this.
|
||||
|
||||
Reference in New Issue
Block a user