avformat/dashdec: propagate parsing requirement from the underlying demuxer

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2026-04-30 12:12:43 -03:00
parent e76bfba1cf
commit 3393dc3020
+4 -1
View File
@@ -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++) {