[FFmpeg-devel] [PATCH 3/7] avformat/tee: Handle AV_NOPTS_VALUE correctly
sebechlebskyjan at gmail.com
Mon Jul 4 18:35:52 EEST 2016
On 07/04/2016 05:07 PM, Hendrik Leppkes wrote:
> On Mon, Jul 4, 2016 at 4:45 PM, <sebechlebskyjan at gmail.com> wrote:
>> + if (pkt->pts != AV_NOPTS_VALUE)
>> + pkt2.pts = av_rescale_q(pkt->pts, tb, tb2);
>> + if (pkt->dts != AV_NOPTS_VALUE)
>> + pkt2.dts = av_rescale_q(pkt->dts, tb, tb2);
> Maybe this entire thing could use av_packet_rescale_ts?
Sure! I wasn't aware there is such function, I'll wait if there are some
more comments to the patchset and change this.
More information about the ffmpeg-devel