From 449018f0d1f0233ac0ce5a7eb9ef15e3a0f61420 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 23 May 2025 10:18:57 -0400 Subject: [PATCH] MT#55283 use correct PT for clock rate Change-Id: Ibfc02b1a838aaf892c7d74b8dff07fd3a171be2c --- daemon/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/codec.c b/daemon/codec.c index e65244805..9d463b79d 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -2340,7 +2340,7 @@ static int __handler_func_sequencer(struct media_packet *mp, struct transcode_pa if (ts_diff == 0 || ts_diff >= 0x80000000) break; - uint64_t ts_diff_us = ts_diff * 1000000LL / h->dest_pt.clock_rate; + uint64_t ts_diff_us = ts_diff * 1000000LL / h->source_pt.clock_rate; if (ts_diff_us >= 60000) { // arbitrary value packet = packet_sequencer_force_next_packet(seq); if (!packet)