From: Jason Garrett-Glaser Date: Mon, 14 Jan 2013 13:35:30 +0000 (-0800) Subject: x264.h: improve x264_encoder_reconfig documentation X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=a4e77598d2e1e55483bf0918f6ec2fda51ee9507;p=x264.git x264.h: improve x264_encoder_reconfig documentation --- diff --git a/x264.h b/x264.h index b5d9c757..7f59a387 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