Browse Source

MT#55283 use correct PT for clock rate

Change-Id: Ibfc02b1a838aaf892c7d74b8dff07fd3a171be2c
pull/1945/head
Richard Fuchs 7 months ago
parent
commit
449018f0d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/codec.c

+ 1
- 1
daemon/codec.c View File

@ -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)


Loading…
Cancel
Save