On 02.11.2021 16:59, [email protected] wrote: [...]
+ if (!ts->first_dts_checked && dts != AV_NOPTS_VALUE) { + ts->first_pcr += dts * 300; + ts->first_dts_checked = 1; + } +I think it's not same as the old code, the first_pcr will add extra delay if copyts is 0.
proposed patch extend updating ts->first_pcr not only when copyts is 0 but when copyts is 1 (*-mpegts_copyts 1* specified)
very similar issue i found at http://ffmpeg.org/pipermail/ffmpeg-devel/2019-April/242766.html
-- Maksym Veremeyenko _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
