X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_block.h;h=aa49c65228306e04b734695938b93bad64c8c175;hb=abfc96fabbda7ef2be163a51d0781243673771d0;hp=37d21badf027d34ab1a83db9f847a6dbe674e774;hpb=202a87b60c22375a5fd9c094bd10f2751e506d7c;p=vlc diff --git a/include/vlc_block.h b/include/vlc_block.h index 37d21badf0..aa49c65228 100644 --- a/include/vlc_block.h +++ b/include/vlc_block.h @@ -37,7 +37,7 @@ * - i_flags may not always be set (ie could be 0, even for a key frame * it depends where you receive the buffer (before/after a packetizer * and the demux/packetizer implementations. - * - i_dts/i_pts could be BLOCK_TS_INVALID, it means no pts/dts + * - i_dts/i_pts could be VLC_TS_INVALID, it means no pts/dts * - i_length: length in microseond of the packet, can be null except in the * sout where it is mandatory. * - i_rate 0 or a valid input rate, look at vlc_input.h @@ -90,10 +90,6 @@ typedef struct block_sys_t block_sys_t; #define BLOCK_FLAG_PRIVATE_MASK 0xff000000 #define BLOCK_FLAG_PRIVATE_SHIFT 24 -/* All timestamp below or equal to this define are invalid/unset - * XXX the numerical value is 0 because of historical reason and will change.*/ -#define BLOCK_TS_INVALID (0) - typedef void (*block_free_t) (block_t *); struct block_t