mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
gst/rtpmanager/gstrtpjitterbuffer.c: Simply drop bad RTP packets with a warning instead of just posting an error and ...
Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_chain): Simply drop bad RTP packets with a warning instead of just posting an error and stopping. This is a perfectly recoverable event and we don't force people to use an rtpbin to filter out bad packets first.
This commit is contained in:
parent
affa292951
commit
ce2c8b6706
2 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/rtpmanager/gstrtpjitterbuffer.c:
|
||||||
|
(gst_rtp_jitter_buffer_chain):
|
||||||
|
Simply drop bad RTP packets with a warning instead of just posting an
|
||||||
|
error and stopping. This is a perfectly recoverable event and we don't
|
||||||
|
force people to use an rtpbin to filter out bad packets first.
|
||||||
|
|
||||||
2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/mpeg4videoparse/mpeg4videoparse.c: (gst_mpeg4vparse_init):
|
* gst/mpeg4videoparse/mpeg4videoparse.c: (gst_mpeg4vparse_init):
|
||||||
|
|
|
@ -945,12 +945,12 @@ finished:
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
invalid_buffer:
|
invalid_buffer:
|
||||||
{
|
{
|
||||||
/* this is fatal and should be filtered earlier */
|
/* this is not fatal but should be filtered earlier */
|
||||||
GST_ELEMENT_ERROR (jitterbuffer, STREAM, DECODE, (NULL),
|
GST_ELEMENT_WARNING (jitterbuffer, STREAM, DECODE, (NULL),
|
||||||
("Received invalid RTP payload"));
|
("Received invalid RTP payload, dropping"));
|
||||||
gst_buffer_unref (buffer);
|
gst_buffer_unref (buffer);
|
||||||
gst_object_unref (jitterbuffer);
|
gst_object_unref (jitterbuffer);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
not_negotiated:
|
not_negotiated:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue