[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:54:53 CEST 2010


vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Jun 14 09:33:45 2010 +0300| [ede737ea4895070858da9584c538fdb3d855b616] | committer: Ilkka Ollakka 

x264: don't repeat headers, we should do it ourself where needed
(cherry picked from commit 0f8980274129820bfce1a72024dc1bffbcfd61c8)

Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=ede737ea4895070858da9584c538fdb3d855b616
---

 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 03dbaa5..a22ed41 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -1263,6 +1263,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