Quoting Martin Storsjö (2014-10-06 20:22:49) > From: Michael Niedermayer <[email protected]> > > In these cases, only drop dts. Because if we drop both we have no > timestamps at all for some files. > > This improves playback of HLS streams from GoPro cameras. > --- > libavformat/utils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index 8757c10..ffad92f 100644 > --- a/libavformat/utils.c > +++ b/libavformat/utils.c > @@ -616,7 +616,7 @@ static void compute_pkt_fields(AVFormatContext *s, > AVStream *st, > if (delay == 1 && pkt->dts == pkt->pts && > pkt->dts != AV_NOPTS_VALUE && presentation_delayed) { > av_log(s, AV_LOG_DEBUG, "invalid dts/pts combination\n"); > - pkt->dts = pkt->pts = AV_NOPTS_VALUE; > + pkt->dts = AV_NOPTS_VALUE;
It's a step in the right direction, so fine with me -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
