From: Rafaël Carré Date: Mon, 7 Dec 2009 05:53:45 +0000 (+0100) Subject: sout_InputSendBuffer(): use VLC_TS_INVALID X-Git-Tag: 1.1.0-ff~2155 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8b8cb3eca15f29ce2cdaafcab344ef4b52e32b6f;p=vlc sout_InputSendBuffer(): use VLC_TS_INVALID refs #3135 --- diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c index d3ed7eba32..dfc2f235cb 100644 --- a/src/stream_output/stream_output.c +++ b/src/stream_output/stream_output.c @@ -268,7 +268,8 @@ int sout_InputSendBuffer( sout_packetizer_input_t *p_input, block_Release( p_buffer ); 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!"); block_Release( p_buffer );