lib: iterator.c: auto-seek: handle new message types
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 13 Feb 2019 18:34:03 +0000 (13:34 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:37 +0000 (18:19 -0400)
commitf629b8914c738975fa86757487e31867b690d6a7
tree07a0fbfd916a0d9f44406ca16b5e5ffe04692bf6
parent6a6975d2be9be143a6b46ff5865b66bd9ba6fa2b
lib: iterator.c: auto-seek: handle new message types

When reading the time of a given message for auto-seeking purposes:

* Skip packet beginning/end messages as packet object beginning/end time
  properties are about to be removed.

* Use a stream activity beginning time if known, otherwise skip the
  message for infinite and unknown times.

* Use a stream activity end time if known, otherwise skip the message
  for an unknown time (a positive infinite time is always greater than
  any requested time).

* Use the beginning time of a discarded events/packets message because
  this beginning time must be greater than or equal to the previous
  message's time for the same stream.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
lib/graph/iterator.c
This page took 0.025091 seconds and 4 git commands to generate.