avformat/dashdec: propagate parsing requirement from the underlying demuxer
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user