summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-12-11 15:37:41 +0100
committerAnton Khirnov <anton@khirnov.net>2022-07-23 11:53:19 +0200
commit4877842bb5c2481fb06b4c7e2b817c2c75120a75 (patch)
treed1a73db25119b0d06d5d99bfc48e89ddc877dcc1 /fftools/ffmpeg.h
parentcc1cc2c65e7b776433791adea932e0ea9b1cfd42 (diff)
fftools/ffmpeg: refactor the code checking for bitexact output
Figure out earlier whether the output stream/file should be bitexact and store this information in a flag in OutputFile/OutputStream. Stop accessing the muxer in set_encoder_id(), which will become forbidden in future commits.
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 78f4cb6c29..329437cd0a 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -498,6 +498,7 @@ typedef struct OutputStream {
int top_field_first;
int rotate_overridden;
int autoscale;
+ int bitexact;
int bits_per_raw_sample;
double rotate_override_value;
@@ -598,6 +599,7 @@ typedef struct OutputFile {
int64_t start_time; ///< start time in microseconds == AV_TIME_BASE units
int shortest;
+ int bitexact;
} OutputFile;
extern InputStream **input_streams;