Re: [FFmpeg-devel] [PATCH 3/7] avformat/tee: Handle AV_NOPTS_VALUE correctly

2016-07-04 Thread Jan Sebechlebsky
On 07/04/2016 05:07 PM, Hendrik Leppkes wrote: On Mon, Jul 4, 2016 at 4:45 PM, wrote: +if (pkt->pts != AV_NOPTS_VALUE) +pkt2.pts = av_rescale_q(pkt->pts, tb, tb2); +if (pkt->dts != AV_NOPTS_VALUE) +pkt2.dts =

Re: [FFmpeg-devel] [PATCH 3/7] avformat/tee: Handle AV_NOPTS_VALUE correctly

2016-07-04 Thread Hendrik Leppkes
On Mon, Jul 4, 2016 at 4:45 PM, wrote: > From: Jan Sebechlebsky > > Do not rescale pts and dts if they are set to > AV_NOPTS_VALUE. > > Signed-off-by: Jan Sebechlebsky > --- > libavformat/tee.c | 6 -- > 1

[FFmpeg-devel] [PATCH 3/7] avformat/tee: Handle AV_NOPTS_VALUE correctly

2016-07-04 Thread sebechlebskyjan
From: Jan Sebechlebsky Do not rescale pts and dts if they are set to AV_NOPTS_VALUE. Signed-off-by: Jan Sebechlebsky --- libavformat/tee.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/tee.c