diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-02-07 11:38:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-02-07 12:14:13 +0100 |
commit | c9b926ffce26557872cf819d7affeb9b50e575a6 (patch) | |
tree | 134118e9b994700c544cf1fbbb3ef972a1a18579 | |
parent | 10666843f555beb6921f8d4b8391e28ddd95d95a (diff) |
lavf/argo_asf: set ts_flags
-rw-r--r-- | libavformat/argo_asf.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |