From 5b4eb723b649481f963f1f58051515bad6eafe7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 28 Jul 2012 11:22:43 +0100 Subject: [PATCH] matroska: update for TOC API changes --- gst/matroska/matroska-read-common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/matroska/matroska-read-common.c b/gst/matroska/matroska-read-common.c index 105f72eed3..e38735c49c 100644 --- a/gst/matroska/matroska-read-common.c +++ b/gst/matroska/matroska-read-common.c @@ -1095,7 +1095,8 @@ gst_matroska_read_common_parse_chapters (GstMatroskaReadCommon * common, return ret; } - toc = gst_toc_new (); + /* FIXME: create CURRENT toc as well */ + toc = gst_toc_new (GST_TOC_SCOPE_GLOBAL); while (ret == GST_FLOW_OK && gst_ebml_read_has_remaining (ebml, 1, TRUE)) { if ((ret = gst_ebml_peek_id (ebml, &id)) != GST_FLOW_OK)