From 001806260e154fb26c6ebadf3a397e20454e8ea1 Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Mon, 7 Jun 2021 19:33:49 +0200 Subject: [PATCH] SK: discard invalid timings output --- modules/packetizer/h264.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c index 9af3a75b58..f15b01a2a1 100644 --- a/modules/packetizer/h264.c +++ b/modules/packetizer/h264.c @@ -594,6 +594,10 @@ static int PacketizeValidate( void *p_private, block_t *p_au ) { VLC_UNUSED(p_private); VLC_UNUSED(p_au); + + if(p_au->i_dts == VLC_TICK_INVALID) + return VLC_EGENERIC; + return VLC_SUCCESS; }