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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commit902bc5f0b2c6014fa21d4c8b6a6f6f8eab28ac36
tree5b9e132eb3488a13adc0a87dbd95e22615326112
parent3b97c4201bef9b602b854c29e17a5c41018e1314
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.024409 seconds and 5 git commands to generate.