Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-25 23:04:48 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-03-25 23:49:42 +0400
commit1b0fcf33b80d72d1e48287feda5cea9fdf906ee0 (patch)
tree5238d407b7cbcd534814f70c942e318244fbc12a /libswresample/swresample.h
parente479013ae41050ad9b76429d8c6ab70684cddc93 (diff)
swr: More flexible and convenient buffering
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.h')
-rw-r--r--libswresample/swresample.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index f860f7cdd6..f912bac042 100644
--- a/libswresample/swresample.h
+++ b/libswresample/swresample.h
@@ -102,6 +102,10 @@ void swr_free(struct SwrContext **s);
* in and in_count can be set to 0 to flush the last few samples out at the
* end.
*
+ * If more input is provided than output space then the input will be buffered.
+ * You can avoid this buffering by providing more output space than input.
+ * Convertion will run directly without copying whenever possible.
+ *
* @param s allocated Swr context, with parameters set
* @param out output buffers, only the first one need be set in case of packed audio
* @param out_count amount of space available for output in samples per channel