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.
This commit is contained in:
wm4 2017-10-25 12:32:30 +02:00
parent 3d32cb1649
commit 374e3bd83c
1 changed files with 1 additions and 0 deletions

View File

@ -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){