aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-01-28 10:06:20 +0100
committerAnton Khirnov <anton@khirnov.net>2023-01-29 09:10:57 +0100
commitd2c983c213b824fe70a13db1b16c3ced4296ae6f (patch)
treef7a497d776220e6b3407594dc3a8dc086979be5d /fftools/ffmpeg.h
parent425b2c4a562878fb58d983f3e5c8b4efba77e40e (diff)
downloadffmpeg-d2c983c213b824fe70a13db1b16c3ced4296ae6f.tar.gz
fftools/ffmpeg: add an AVClass to Muxer/OutputFile
Use it for logging. This makes log messages related to this output file more consistent.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 9bda1aa0a1..1a235f205f 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -670,6 +670,8 @@ typedef struct OutputStream {
} OutputStream;
typedef struct OutputFile {
+ const AVClass *class;
+
int index;
const AVOutputFormat *format;