Changeset 29a8ff8d07fd92ee0e2c0622c20981a9dea06b14

Show
Ignore:
Timestamp:
13/09/05 19:48:32 (3 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1126633712 +0000
git-parent:

[af355abd513b69d2cad08c02857001fd218cfc09]

git-author:
Gildas Bazin <gbazin@videolan.org> 1126633712 +0000
Message:

* modules/packetizer/h264.c: date SPS and PPS blocks built from the codec extradata.

Files:

Legend:

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

    rd21227b r29a8ff8  
    183183            block_t *p_sps = nal_get_annexeb( p_dec, p + 2, i_length ); 
    184184 
     185            p_sps->i_pts = p_sps->i_dts = mdate(); 
    185186            ParseNALBlock( p_dec, p_sps ); 
    186187            p += 2 + i_length; 
     
    193194            block_t *p_pps = nal_get_annexeb( p_dec, p + 2, i_length ); 
    194195 
     196            p_pps->i_pts = p_pps->i_dts = mdate(); 
    195197            ParseNALBlock( p_dec, p_pps ); 
    196198            p += 2 + i_length;