Commit 8b8cb3ec authored by Rafaël Carré's avatar Rafaël Carré

sout_InputSendBuffer(): use VLC_TS_INVALID

refs #3135
parent c57ca508
...@@ -268,7 +268,8 @@ int sout_InputSendBuffer( sout_packetizer_input_t *p_input, ...@@ -268,7 +268,8 @@ int sout_InputSendBuffer( sout_packetizer_input_t *p_input,
block_Release( p_buffer ); block_Release( p_buffer );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
if( p_buffer->i_dts <= 0 )
if( p_buffer->i_dts <= VLC_TS_INVALID )
{ {
msg_Warn( p_sout, "trying to send non-dated packet to stream output!"); msg_Warn( p_sout, "trying to send non-dated packet to stream output!");
block_Release( p_buffer ); block_Release( 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