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

rtp: set the marker bit correctly for Opus

parent 81400d7e
......@@ -851,11 +851,13 @@ static int rtp_packetize_ac3( sout_stream_id_sys_t *id, block_t *in )
static int rtp_packetize_simple(sout_stream_id_sys_t *id, block_t *block)
{
bool marker = (block->i_flags & BLOCK_FLAG_DISCONTINUITY) != 0;
block = block_Realloc(block, 12, block->i_buffer);
if (unlikely(block == NULL))
return VLC_ENOMEM;
rtp_packetize_common(id, block, true, block->i_pts);
rtp_packetize_common(id, block, marker, block->i_pts);
rtp_packetize_send(id, block);
return VLC_SUCCESS;
}
......
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