export: fixed bug where null frames never got signalled and hung exporting

This commit is contained in:
itsmattkc
2020-04-23 03:02:04 +10:00
parent 8f9c056419
commit 61e3641bcc
6 changed files with 33 additions and 14 deletions
+2 -2
View File
@@ -173,10 +173,10 @@ void Encoder::Open()
}
}
void Encoder::WriteFrame(FramePtr frame)
void Encoder::WriteFrame(FramePtr frame, rational time)
{
if (open_) {
WriteInternal(frame);
WriteInternal(frame, time);
}
}