Commit 349f2690 authored by Pierre Ynard's avatar Pierre Ynard

rtp: use VLC_TS_INVALID

parent d1a8c96a
......@@ -423,7 +423,7 @@ static void codec_decode (demux_t *demux, void *data, block_t *block)
{
if (data)
{
block->i_dts = 0; /* RTP does not specify this */
block->i_dts = VLC_TS_INVALID; /* RTP does not specify this */
es_out_Control (demux->out, ES_OUT_SET_PCR, block->i_pts );
es_out_Send (demux->out, (es_out_id_t *)data, block);
}
......
......@@ -168,7 +168,7 @@ rtp_source_create (demux_t *demux, const rtp_session_t *session,
source->ssrc = ssrc;
source->jitter = 0;
source->ref_rtp = 0;
/* TODO: use 0, but VLC does not like negative PTS at the moment */
/* TODO: use VLC_TS_0, but VLC does not like negative PTS at the moment */
source->ref_ntp = UINT64_C (1) << 62;
source->max_seq = source->bad_seq = init_seq;
source->last_seq = init_seq - 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment