fftools/ffmpeg_filter: add an AVClass to OutputFilter

Use it for logging where appropriate, avoid logging to OutputStream as
we do not own it.

This is a step towards decoupling filtering from encoding.
This commit is contained in:
Anton Khirnov
2024-04-02 13:40:42 +02:00
parent 3c3e04c8a3
commit fc6354c39c
2 changed files with 51 additions and 19 deletions

View File

@@ -302,6 +302,8 @@ typedef struct InputFilter {
} InputFilter;
typedef struct OutputFilter {
const AVClass *class;
struct OutputStream *ost;
struct FilterGraph *graph;
uint8_t *name;