[MOVED FROM GST-P-FARSIGHT] non-perfect stream isnt an error, lets just log it

20080403170956-3e2dc-663f6af8ce067f44ca251a89aebf262d4b8a2869.gz
This commit is contained in:
Olivier Crete 2008-04-03 17:09:56 +00:00 committed by Edward Hervey
parent 29991c984a
commit 696a8dc188

View file

@ -819,7 +819,7 @@ gst_live_live_adder_chain (GstPad *pad, GstBuffer *buffer)
if (GST_CLOCK_TIME_IS_VALID (padprivate->expected_timestamp) &&
!GST_BUFFER_FLAG_IS_SET(buffer, GST_BUFFER_FLAG_DISCONT) &&
GST_BUFFER_TIMESTAMP(buffer) != padprivate->expected_timestamp)
GST_ERROR_OBJECT (adder,
GST_LOG_OBJECT (adder,
"Timestamp discontinuity without the DISCONT flag set"
" (expected %" GST_TIME_FORMAT ", got %" GST_TIME_FORMAT")",
GST_TIME_ARGS (padprivate->expected_timestamp),