vlc | branch: master | Ilkka Ollakka <il...@videolan.org> | Sat Sep 10 00:01:24 
2011 +0300| [d405f2ca0cbf3bd830241281b224206bfbf72428] | committer: Ilkka 
Ollakka

x264: actually add that sei in first block

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

 modules/codec/x264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 967f2ef..128ccfe 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -1373,7 +1373,7 @@ static block_t *Encode( encoder_t *p_enc, picture_t 
*p_pict )
     if( !p_block ) return NULL;
 
     unsigned int i_offset = 0;
-    if( unlikely( p_sys->i_sei_size && ( i_nal > 1 ) ) )
+    if( unlikely( p_sys->i_sei_size ) )
     {
        /* insert x264 headers SEI nal into the first picture block at the 
start */
        memcpy( p_block->p_buffer, p_sys->p_sei, p_sys->i_sei_size );

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to