fftools/ffmpeg_filter: move sub2video subtitle queue to InputFilterPriv

This queue should be associated with a specific filtergraph input - if
a subtitle stream is sent to multiple filters then each should have its
own queue.
This commit is contained in:
Anton Khirnov
2023-05-23 13:07:57 +02:00
parent 5d530e3a72
commit a6d67b11f5
2 changed files with 15 additions and 12 deletions

View File

@@ -374,7 +374,6 @@ typedef struct InputStream {
struct sub2video {
int64_t last_pts;
int64_t end_pts;
AVFifo *sub_queue; ///< queue of AVSubtitle* before filter init
AVFrame *frame;
int w, h;
unsigned int initialize; ///< marks if sub2video_update should force an initialization