summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-05-14 21:02:19 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-05-14 21:02:19 +0000
commitce2c8b6706e0662bbd197f40fea8281746694145 (patch)
treebfe6cc0c6406db6de9027abe98d9e8410e922ece
parentaffa2929519cee158d1c59853d6f286e54419f37 (diff)
downloadgst-plugins-bad-ce2c8b6706e0662bbd197f40fea8281746694145.tar.gz
gst-plugins-bad-ce2c8b6706e0662bbd197f40fea8281746694145.tar.bz2
gst-plugins-bad-ce2c8b6706e0662bbd197f40fea8281746694145.zip
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.
-rw-r--r--ChangeLog8
-rw-r--r--gst/rtpmanager/gstrtpjitterbuffer.c8
2 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3546af54..18247f58 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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>
+
* gst/mpeg4videoparse/mpeg4videoparse.c: (gst_mpeg4vparse_init):
Set fixed caps on the srcpad after we created the pad...
diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c
index c62a6c50..46439dc1 100644
--- a/gst/rtpmanager/gstrtpjitterbuffer.c
+++ b/gst/rtpmanager/gstrtpjitterbuffer.c
@@ -945,12 +945,12 @@ finished:
/* ERRORS */
invalid_buffer:
{
- /* this is fatal and should be filtered earlier */
- GST_ELEMENT_ERROR (jitterbuffer, STREAM, DECODE, (NULL),
- ("Received invalid RTP payload"));
+ /* this is not fatal but should be filtered earlier */
+ GST_ELEMENT_WARNING (jitterbuffer, STREAM, DECODE, (NULL),
+ ("Received invalid RTP payload, dropping"));
gst_buffer_unref (buffer);
gst_object_unref (jitterbuffer);
- return GST_FLOW_ERROR;
+ return GST_FLOW_OK;
}
not_negotiated:
{