From 0f8980274129820bfce1a72024dc1bffbcfd61c8 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Mon, 14 Jun 2010 09:33:45 +0300 Subject: [PATCH] x264: don't repeat headers, we should do it ourself where needed --- modules/codec/x264.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/codec/x264.c b/modules/codec/x264.c index f96c22142d..0a459d948f 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -1226,6 +1226,9 @@ static int Open ( vlc_object_t *p_this ) * difference that well yet*/ p_sys->param.rc.i_lookahead= var_GetInteger( p_enc, SOUT_CFG_PREFIX "lookahead" ); + /* We don't want repeated headers, we repeat p_extra ourself if needed */ + p_sys->param.b_repeat_headers = 0; + /* Open the encoder */ p_sys->h = x264_encoder_open( &p_sys->param ); -- 2.39.5