From 3393dc30203bdb36aa276aaa880e2127d68a006b Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 30 Apr 2026 12:12:43 -0300 Subject: [PATCH] avformat/dashdec: propagate parsing requirement from the underlying demuxer Signed-off-by: James Almer --- libavformat/dashdec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 1daa0d4ce5..cf6c542d5f 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -2005,7 +2005,9 @@ static int open_demux_for_component(AVFormatContext *s, struct representation *p for (i = 0; i < pls->ctx->nb_streams; i++) { AVStream *st = avformat_new_stream(s, NULL); - AVStream *ist = pls->ctx->streams[i]; + FFStream *sti = ffstream(st); + const AVStream *ist = pls->ctx->streams[i]; + const FFStream *isti = cffstream(ist); if (!st) return AVERROR(ENOMEM); @@ -2019,6 +2021,7 @@ static int open_demux_for_component(AVFormatContext *s, struct representation *p // copy disposition st->disposition = ist->disposition; + sti->need_parsing = isti->need_parsing; } for (i = 0; i < pls->ctx->nb_stream_groups; i++) {