[vlc-commits] sout: send non-dated packets to sout
Ilkka Ollakka
git at videolan.org
Sun Nov 30 14:41:43 CET 2014
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Nov 29 12:45:22 2014 +0200| [f786fa737196edf8c53bd2eb156afd3c2c76e1ce] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f786fa737196edf8c53bd2eb156afd3c2c76e1ce
---
src/stream_output/stream_output.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index 1a6418a..b8e4f40 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -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 );
More information about the vlc-commits
mailing list