Commit 4551908a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not assume RTP frequency is that of TS for RTCP

parent 6bbeeca1
......@@ -672,7 +672,7 @@ static void ThreadWrite( vlc_object_t *p_this )
/* FIXME: this is a very incorrect simplistic RTCP timer */
if ((rtcp_counter / 80) >= p_thread->rtcp_size)
{
SendRTCP (p_thread, p_pk->i_dts * 9 / 100);
SendRTCP (p_thread, GetDWBE (p_pk->p_buffer + 4));
rtcp_counter = 0;
}
}
......
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