From 4f16153d35920970fededa3a05bbfd9dd3bc69b0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 25 Mar 2012 03:33:06 +0200 Subject: swr: allow flushing in multiple steps if the output is too small. Signed-off-by: Michael Niedermayer --- libswresample/swresample_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libswresample/swresample_internal.h') 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 -- cgit v1.2.1