Changeset 2bf327dfbfaea5fd719be71899bafc3c32b3bb45

Show
Ignore:
Timestamp:
01/11/08 18:48:58 (8 months ago)
Author:
Ilkka Ollakka <ileoo@videolan.org>
git-committer:
Ilkka Ollakka <ileoo@videolan.org> 1200073738 +0000
git-parent:

[0669b648a7db1286edef12d16793bea74c5b3aad]

git-author:
Ilkka Ollakka <ileoo@videolan.org> 1200073738 +0000
Message:

fix previous commit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/packetizer/h264.c

    r0669b64 r2bf327d  
    9292    vlc_bool_t   b_sps; 
    9393    vlc_bool_t   b_pps; 
     94    vlc_bool_t   b_header; 
    9495 
    9596    /* avcC data */ 
     
    185186    p_sys->p_sps   = 0; 
    186187    p_sys->p_pps   = 0; 
     188    p_sys->b_header= VLC_FALSE; 
    187189 
    188190    p_sys->slice.i_nal_type = -1; 
     
    250252        memcpy( (uint8_t*)p_dec->fmt_out.p_extra, p_sys->p_sps->p_buffer, p_sys->p_sps->i_buffer); 
    251253        memcpy( (uint8_t*)p_dec->fmt_out.p_extra+p_sys->p_sps->i_buffer, p_sys->p_pps->p_buffer, p_sys->p_pps->i_buffer); 
     254        p_sys->b_header = VLC_TRUE; 
    252255 
    253256        /* Set callback */ 
     
    544547            block_ChainAppend( &p_sps, p_pps );               \ 
    545548            block_ChainAppend( &p_sps, p_sys->p_frame );      \ 
     549            p_sys->b_header = VLC_TRUE;                       \ 
    546550            p_pic = block_ChainGather( p_sps );               \ 
    547551        } else { \