Fix: flt.utils.muxer: make sure message's default clock class exists
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 19 Feb 2019 19:51:02 +0000 (14:51 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commit9c0848a4d85a0f10c1230429b06a66f6ee50476f
tree45dbaf94dba81407b10121572070ca9784b456f8
parent86b544c132692bcbf283eaad90daa97c19b1b44e
Fix: flt.utils.muxer: make sure message's default clock class exists

Without the checks added by this patch, the iterator can borrow the
default clock snapshot of a message related to a stream class without
any default clock class. This is a precondition break.

If there's no default clock class, then we fall back to assuming this
message has the same time as the latest returned message's time.

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