From 32695340b0e93e3cc7edd1b5e7db064d94cd3701 Mon Sep 17 00:00:00 2001 From: Fiona Glaser Date: Mon, 14 Jan 2013 05:35:30 -0800 Subject: [PATCH] x264.h: improve x264_encoder_reconfig documentation --- x264.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/x264.h b/x264.h index 767eb197..fff3ab38 100644 --- a/x264.h +++ b/x264.h @@ -834,7 +834,13 @@ x264_t *x264_encoder_open( x264_param_t * ); * due to delay, this may not be the next frame passed to encoder_encode. * if the change should apply to some particular frame, use x264_picture_t->param instead. * returns 0 on success, negative on parameter validation error. - * not all parameters can be changed; see the actual function for a detailed breakdown. */ + * not all parameters can be changed; see the actual function for a detailed breakdown. + * + * since not all parameters can be changed, moving from preset to preset may not always + * fully copy all relevant parameters, but should still work usably in practice. however, + * more so than for other presets, many of the speed shortcuts used in ultrafast cannot be + * switched out of; using reconfig to switch between ultrafast and other presets is not + * recommended without a more fine-grained breakdown of parameters to take this into account. */ int x264_encoder_reconfig( x264_t *, x264_param_t * ); /* x264_encoder_parameters: * copies the current internal set of parameters to the pointer provided -- 2.40.0