Commit f786fa73 authored by Ilkka Ollakka's avatar Ilkka Ollakka

sout: send non-dated packets to sout

When input is H.264 they don't have pts/dts sometimes before decoder, but
dropping non-dated packets screw up decoder.
parent 5b2c4304
......@@ -224,13 +224,6 @@ int sout_InputSendBuffer( sout_packetizer_input_t *p_input,
return VLC_SUCCESS;
}
if( p_buffer->i_dts <= VLC_TS_INVALID )
{
msg_Warn( p_sout, "trying to send non-dated packet to stream output!");
block_Release( p_buffer );
return VLC_SUCCESS;
}
vlc_mutex_lock( &p_sout->lock );
i_ret = p_sout->p_stream->pf_send( p_sout->p_stream,
p_input->id, p_buffer );
......
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