[x264-devel] x264.h: improve x264_encoder_reconfig documentation

Jason Garrett-Glaser git at videolan.org
Wed Feb 27 00:18:02 CET 2013


x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Mon Jan 14 05:35:30 2013 -0800| [a4e77598d2e1e55483bf0918f6ec2fda51ee9507] | committer: Jason Garrett-Glaser

x264.h: improve x264_encoder_reconfig documentation

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=a4e77598d2e1e55483bf0918f6ec2fda51ee9507
---

 x264.h |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/x264.h b/x264.h
index b5d9c75..7f59a38 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



More information about the x264-devel mailing list