[x264-devel] [PATCH] encoder: copy VUI params in reconfigure

Vittorio Giovara vittorio.giovara at gmail.com
Sun Mar 8 04:15:31 CET 2015


---
 encoder/encoder.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/encoder/encoder.c b/encoder/encoder.c
index edc387c..dbfef36 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -1799,8 +1799,10 @@ static int x264_encoder_try_reconfig( x264_t *h, x264_param_t *param, int *rc_re
     *rc_reconfig |= h->param.rc.f_rf_constant_max != param->rc.f_rf_constant_max;
     COPY( rc.f_rf_constant );
     COPY( rc.f_rf_constant_max );
-#undef COPY
 
+    COPY( vui );
+
+#undef COPY
     return x264_validate_parameters( h, 0 );
 }
 
-- 
1.9.3 (Apple Git-50)



More information about the x264-devel mailing list