fftools/ffmpeg_dec: add an AVClass to Decoder

Log decoder messages to the decoder rather than InputStream.

This is a step towards decoupling Decoder and InputStream.
This commit is contained in:
Anton Khirnov
2024-01-11 10:45:18 +01:00
parent f2a2094c47
commit 7ecd45587f
2 changed files with 60 additions and 34 deletions

View File

@ -281,6 +281,8 @@ typedef struct FilterGraph {
} FilterGraph;
typedef struct Decoder {
const AVClass *class;
const uint8_t *subtitle_header;
int subtitle_header_size;
} Decoder;