summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-23 10:18:01 +0100
committerAnton Khirnov <anton@khirnov.net>2021-12-04 14:07:36 +0100
commit425889396137451ae30288c84122e28532b71596 (patch)
tree81cafc380027735076a86d6fc34185d4a3f4a217 /fftools/ffmpeg.h
parentb9c928a486fda3c0d79b153591ac86beb1c53708 (diff)
ffmpeg: make -bits_per_raw_sample a per-output-stream option
Also, document it and make it apply to audio in addition to video.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index a20ca964fb..c14eed5643 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -228,6 +228,8 @@ typedef struct OptionsContext {
int nb_enc_time_bases;
SpecifierOpt *autoscale;
int nb_autoscale;
+ SpecifierOpt *bits_per_raw_sample;
+ int nb_bits_per_raw_sample;
} OptionsContext;
typedef struct InputFilter {
@@ -483,6 +485,7 @@ typedef struct OutputStream {
int top_field_first;
int rotate_overridden;
int autoscale;
+ int bits_per_raw_sample;
double rotate_override_value;
AVRational frame_aspect_ratio;