From 62b240eb4e1561c677088a5c1fe53075d0ef7a20 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Tue, 13 Nov 2018 21:17:41 +0100 Subject: [PATCH] rtponviftimestamp: buffer without PTS or DTS is not an error. For example, when plugged after rtpgstpay, serialized events will have neither. --- gst/onvif/gstrtponviftimestamp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/onvif/gstrtponviftimestamp.c b/gst/onvif/gstrtponviftimestamp.c index b7a7e8e..08d4a3c 100644 --- a/gst/onvif/gstrtponviftimestamp.c +++ b/gst/onvif/gstrtponviftimestamp.c @@ -525,7 +525,7 @@ handle_buffer (GstRtpOnvifTimestamp * self, GstBuffer * buf) time = gst_segment_to_stream_time (&self->segment, GST_FORMAT_TIME, GST_BUFFER_PTS (buf)); } else { - GST_ERROR_OBJECT (self, + GST_INFO_OBJECT (self, "Buffer doesn't contain any valid DTS or PTS timestamp"); goto done; } -- 2.7.4