From 374e3bd83c6efdf5ed41c96482618f0f5f9b8521 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 25 Oct 2017 12:32:30 +0200 Subject: demux_timeline: trust attached picture flag Fully fixes behavior of the files mentioned in the previous commit. Will probably lead to worse behavior if someone tries to fix real video and cover art tracks, but that's a broken fringe case anyway. --- demux/demux_timeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demux/demux_timeline.c b/demux/demux_timeline.c index 87cc1ce6d6..7eb3d07449 100644 --- a/demux/demux_timeline.c +++ b/demux/demux_timeline.c @@ -372,6 +372,7 @@ static int d_open(struct demuxer *demuxer, enum demux_check check) new->forced_track = sh->forced_track; new->hls_bitrate = sh->hls_bitrate; new->missing_timestamps = sh->missing_timestamps; + new->attached_picture = sh->attached_picture; demux_add_sh_stream(demuxer, new); struct virtual_stream *vs = talloc_ptrtype(p, vs); *vs = (struct virtual_stream){ -- cgit v1.2.3