[vlc-commits] commit: x264: don't repeat headers,	we should do it ourself where needed (  Ilkka Ollakka )
    git at videolan.org 
    git at videolan.org
       
    Mon Jun 14 08:53:40 CEST 2010
    
    
  
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Jun 14 09:33:45 2010 +0300| [0f8980274129820bfce1a72024dc1bffbcfd61c8] | committer: Ilkka Ollakka 
x264: don't repeat headers, we should do it ourself where needed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f8980274129820bfce1a72024dc1bffbcfd61c8
---
 modules/codec/x264.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index f96c221..0a459d9 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 );
 
    
    
More information about the vlc-commits
mailing list