Skip to content
Snippets Groups Projects
Commit 8d6e0f27 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

lal_checktimestamps: try clarifying a message

parent 3c17e0eb
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ class lal_checktimestamps(GstBase.BaseTransform):
if not self.silent:
print >>sys.stderr, "%s: initial timestamp = %s, offset = %d" % (self.get_property("name"), printable_timestamp(buf.pts), buf.offset)
elif gst_buffer_flag_is_set(buf, Gst.BufferFlags.DISCONT):
print >>sys.stderr, "%s: discontinuity: timestamp = %s, offset = %d; would have been %s, offset = %d" % (self.get_property("name"), printable_timestamp(buf.pts), buf.offset, printable_timestamp(self.next_timestamp), self.next_offset)
print >>sys.stderr, "%s: DISCONT buffer: timestamp = %s, offset = %d; would have been %s, offset = %d" % (self.get_property("name"), printable_timestamp(buf.pts), buf.offset, printable_timestamp(self.next_timestamp), self.next_offset)
#
# check for timestamp/offset mismatch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment