flt.utils.muxer: handle all message types specifically
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 19 Feb 2019 14:29:22 +0000 (09:29 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:38 +0000 (18:19 -0400)
commit4a4dd64f9811d51efdf6f25ce6339645e52fbaf7
treeea953d370dc32e1dd628761f8cc218b61bbdf10c
parent579c25244094c8fc3981682115aaf6112a125e1f
flt.utils.muxer: handle all message types specifically

The get_msg_ts_ns() function in `muxer.c` was only handling event and
inactivity messages, making all other messages high priority by default.
However, other messages can have default clock snapshots too, so they
can be sorted.

For discarded events and packets, we use the beginning clock snapshot
as, for the same stream, it must be greater than or equal to the
previous message's clock snapshot (if any), and less than or equal to
the next message's clock snapshot, if any.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
plugins/utils/muxer/muxer.c
This page took 0.025494 seconds and 4 git commands to generate.