MT#55283 use correct PT for clock rate

Change-Id: Ibfc02b1a838aaf892c7d74b8dff07fd3a171be2c
(cherry picked from commit 449018f0d1)
mr13.3
Richard Fuchs 6 months ago
parent ec6730d1ad
commit 33ee65ee04

@ -2292,8 +2292,7 @@ static int __handler_func_sequencer(struct media_packet *mp, struct transcode_pa
if (ts_diff == 0 || ts_diff >= 0x80000000)
break;
unsigned long long ts_diff_us =
(unsigned long long) ts_diff * 1000000 / h->dest_pt.clock_rate;
unsigned long long 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)

Loading…
Cancel
Save