diff options
author | Michael Niedermayer | 2012-12-22 23:53:45 +0100 |
---|---|---|
committer | Michael Niedermayer | 2012-12-25 17:21:09 +0100 |
commit | f9e55c0fed8ca7c8d3df4a3dfb1b3664209bd1dd (patch) | |
tree | 3099abd4f3adaa5e624bbc561eb82da0a2c14fa6 /libswresample/swresample_internal.h | |
parent | 0b980e57ace0acf74bee8bcfc89cbd4f0ff2a602 (diff) |
swr: support -async X as a simple way to do what ffmpeg -async X did
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r-- | libswresample/swresample_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index 19ca0d0fa3..d471517d9e 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -84,6 +84,7 @@ struct SwrContext { float min_hard_compensation; ///< minimum below which no silence inject / sample drop will happen float soft_compensation_duration; ///< duration over which soft compensation is applied float max_soft_compensation; ///< maximum soft compensation in seconds over soft_compensation_duration + float async; ///< simple 1 parameter async, similar to ffmpegs -async int resample_first; ///< 1 if resampling must come first, 0 if rematrixing int rematrix; ///< flag to indicate if rematrixing is needed (basically if input and output layouts mismatch) |