mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
matroska: update for TOC API changes
This commit is contained in:
parent
1d5ed57cfa
commit
5b4eb723b6
1 changed files with 2 additions and 1 deletions
|
@ -1095,7 +1095,8 @@ gst_matroska_read_common_parse_chapters (GstMatroskaReadCommon * common,
|
||||||
return ret;
|
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)) {
|
while (ret == GST_FLOW_OK && gst_ebml_read_has_remaining (ebml, 1, TRUE)) {
|
||||||
if ((ret = gst_ebml_peek_id (ebml, &id)) != GST_FLOW_OK)
|
if ((ret = gst_ebml_peek_id (ebml, &id)) != GST_FLOW_OK)
|
||||||
|
|
Loading…
Reference in a new issue