]> git.sesse.net Git - vlc/blobdiff - modules/packetizer/packetizer_helper.h
h264 packetizer: fill profile/level
[vlc] / modules / packetizer / packetizer_helper.h
index 1c6e67b205a9fa0e40c2e4e641f074fcfc70c3bd..b2fd905b80df3d91a160522531ebcf47ca7c7653 100644 (file)
@@ -170,8 +170,8 @@ static inline block_t *packetizer_Packetize( packetizer_t *p_pack, block_t **pp_
             p_pic = p_pack->pf_parse( p_pack->p_private, &b_used_ts, p_pic );
             if( b_used_ts )
             {
-                p_block_bytestream->i_dts = -1;
-                p_block_bytestream->i_pts = -1;
+                p_block_bytestream->i_dts = VLC_TS_INVALID;
+                p_block_bytestream->i_pts = VLC_TS_INVALID;
             }
 
             if( !p_pic )