diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-25 03:33:06 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-25 03:33:06 +0200 |
commit | 4f16153d35920970fededa3a05bbfd9dd3bc69b0 (patch) | |
tree | 63e47af66da280361eef6fc99170d06b886bd027 /libswresample/swresample_internal.h | |
parent | 8bf95e8bd5c20eb940bd9583d3f947d8210eeb56 (diff) | |
download | ffmpeg-4f16153d35920970fededa3a05bbfd9dd3bc69b0.tar.gz |
swr: allow flushing in multiple steps if the output is too small.
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 e3c0b3dd38..dc7304ce11 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -64,6 +64,7 @@ struct SwrContext { int in_buffer_index; ///< cached buffer position int in_buffer_count; ///< cached buffer length int resample_in_constraint; ///< 1 if the input end was reach before the output end, 0 otherwise + int flushed; ///< 1 if data is to be flushed and no further input is expected struct AudioConvert *in_convert; ///< input conversion context struct AudioConvert *out_convert; ///< output conversion context |