fix(encoder): re-add PTS calculation after processing for interpolators

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x
2025-01-21 00:00:00 +00:00
parent 9d4b21b4c1
commit 7d10fa2814
3 changed files with 6 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ class Encoder {
int in_vstream_idx
);
int write_frame(AVFrame* frame);
int write_frame(AVFrame* frame, int64_t frame_idx);
int flush();
AVCodecContext* get_encoder_context() const;