From c10879d5a1db9af6524ae8728dc546e68f78f704 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Mon, 14 Aug 2006 21:45:19 +0000 Subject: [PATCH] * set extradata of the x264 encoder. --- modules/codec/x264.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/codec/x264.c b/modules/codec/x264.c index f2ee1e763a..e1c20fdd80 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -538,6 +538,8 @@ static int Open ( vlc_object_t *p_this ) encoder_sys_t *p_sys; vlc_value_t val; int i_qmin = 0, i_qmax = 0; + x264_nal_t *nal; + int i, i_nal; if( p_enc->fmt_out.i_codec != VLC_FOURCC( 'h', '2', '6', '4' ) && !p_enc->b_force ) @@ -938,7 +940,6 @@ static int Open ( vlc_object_t *p_this ) p_enc->fmt_out.i_extra = 0; p_enc->fmt_out.p_extra = NULL; -#if 0 x264_encoder_headers( p_sys->h, &nal, &i_nal ); for( i = 0; i < i_nal; i++ ) { @@ -953,7 +954,6 @@ static int Open ( vlc_object_t *p_this ) p_enc->fmt_out.i_extra += i_size; } -#endif return VLC_SUCCESS; } -- 2.39.2