rtponviftimestamp: buffer without PTS or DTS is not an error.

For example, when plugged after rtpgstpay, serialized events will
have neither.
This commit is contained in:
Mathieu Duponchelle 2018-11-13 21:17:41 +01:00 committed by Mathieu Duponchelle
parent 9c3816830c
commit 62b240eb4e

View file

@ -525,7 +525,7 @@ handle_buffer (GstRtpOnvifTimestamp * self, GstBuffer * buf)
time = gst_segment_to_stream_time (&self->segment, GST_FORMAT_TIME, time = gst_segment_to_stream_time (&self->segment, GST_FORMAT_TIME,
GST_BUFFER_PTS (buf)); GST_BUFFER_PTS (buf));
} else { } else {
GST_ERROR_OBJECT (self, GST_INFO_OBJECT (self,
"Buffer doesn't contain any valid DTS or PTS timestamp"); "Buffer doesn't contain any valid DTS or PTS timestamp");
goto done; goto done;
} }