fftools/ffmpeg: add an AVClass to Muxer/OutputFile

Use it for logging. This makes log messages related to this output file
more consistent.
This commit is contained in:
Anton Khirnov
2023-01-28 10:06:20 +01:00
parent 425b2c4a56
commit d2c983c213
4 changed files with 96 additions and 68 deletions

View File

@@ -63,6 +63,9 @@ typedef struct MuxStream {
typedef struct Muxer {
OutputFile of;
// name used for logging
char log_name[32];
AVFormatContext *fc;
pthread_t thread;