flt.utils.muxer: handle all message types specifically
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 19 Feb 2019 14:29:22 +0000 (09:29 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commitafa451cec0556408443bf16629c2f2bdd3b3c9f9
treeab7f5739979b9685e6cd36f3a35a9a74e3ed4840
parent4ef765d4ff1ed191d394c52f85a0f894081bb71b
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.023933 seconds and 5 git commands to generate.