fftools/ffmpeg: move subtitle encoding to ffmpeg_enc.c

This commit is contained in:
Anton Khirnov
2023-03-25 05:37:42 +01:00
parent b79448fa38
commit 9de5dc74fd
3 changed files with 85 additions and 84 deletions

View File

@@ -811,6 +811,9 @@ AVBufferRef *hw_device_for_filter(void);
int hwaccel_decode_init(AVCodecContext *avctx);
int enc_open(OutputStream *ost, AVFrame *frame);
void enc_subtitle(OutputFile *of, OutputStream *ost, AVSubtitle *sub);
int check_recording_time(OutputStream *ost, int64_t ts, AVRational tb);
/*
* Initialize muxing state for the given stream, should be called