From c9b926ffce26557872cf819d7affeb9b50e575a6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 7 Feb 2024 11:38:13 +0100 Subject: lavf/argo_asf: set ts_flags --- libavformat/argo_asf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c index 5f38b68b6a..8ba6b44567 100644 --- a/libavformat/argo_asf.c +++ b/libavformat/argo_asf.c @@ -132,6 +132,7 @@ int ff_argo_asf_fill_stream(AVFormatContext *s, AVStream *st, const ArgoASFFileH st->codecpar->bits_per_coded_sample; avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate); + st->ts_flags = AVFORMAT_TS_FLAG_PTS | AVFORMAT_TS_FLAG_DURATION; st->start_time = 0; if (fhdr->num_chunks == 1) { -- cgit v1.2.3