From 8b8cb3eca15f29ce2cdaafcab344ef4b52e32b6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 7 Dec 2009 06:53:45 +0100 Subject: [PATCH] sout_InputSendBuffer(): use VLC_TS_INVALID refs #3135 --- src/stream_output/stream_output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.39.2