From 6e45e1de7778fab39e478f4e05008eb96bbec523 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 Jul 2016 18:26:58 +0200 Subject: [PATCH] demux_timeline: restore mkv edition switching --- demux/demux_timeline.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demux/demux_timeline.c b/demux/demux_timeline.c index af3389ba73..98bd9b9aa9 100644 --- a/demux/demux_timeline.c +++ b/demux/demux_timeline.c @@ -301,6 +301,9 @@ static int d_open(struct demuxer *demuxer, enum demux_check check) demuxer->metadata = meta->metadata; demuxer->attachments = meta->attachments; demuxer->num_attachments = meta->num_attachments; + demuxer->editions = meta->editions; + demuxer->num_editions = meta->num_editions; + demuxer->edition = meta->edition; int num_streams = demux_get_num_stream(meta); for (int n = 0; n < num_streams; n++) {