]> git.sesse.net Git - vlc/commitdiff
x264: don't repeat headers, we should do it ourself where needed
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 14 Jun 2010 06:33:45 +0000 (09:33 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 14 Jun 2010 06:33:45 +0000 (09:33 +0300)
modules/codec/x264.c

index f96c22142dcf0d7208799ccb38c6f548c5124e07..0a459d948f463c7d1ffed714a7d3c0032acc68d6 100644 (file)
@@ -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 );