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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commit16663a5e696c5987581a454e5a64e42ea3663957
tree5b9e132eb3488a13adc0a87dbd95e22615326112
parent58085ca4d234fafe66bf875c32364598e180eafa
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.025206 seconds and 4 git commands to generate.