mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-26 07:56:38 +00:00
mkv: port toc changes to 0.11
This commit is contained in:
parent
50bc831c91
commit
bc761c94c7
1 changed files with 2 additions and 2 deletions
|
@ -934,7 +934,7 @@ gst_matroska_read_common_parse_chapter_element (GstMatroskaReadCommon * common,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
titles = gst_tag_list_new ();
|
titles = gst_tag_list_new_empty ();
|
||||||
chapter_info = gst_toc_entry_new (GST_TOC_ENTRY_TYPE_CHAPTER,
|
chapter_info = gst_toc_entry_new (GST_TOC_ENTRY_TYPE_CHAPTER,
|
||||||
GST_MATROSKA_TOC_UID_EMPTY);
|
GST_MATROSKA_TOC_UID_EMPTY);
|
||||||
|
|
||||||
|
@ -1882,7 +1882,7 @@ gst_matroska_read_common_parse_metadata_id_tag (GstMatroskaReadCommon * common,
|
||||||
|
|
||||||
edition_targets = g_array_new (FALSE, FALSE, sizeof (guint64));
|
edition_targets = g_array_new (FALSE, FALSE, sizeof (guint64));
|
||||||
chapter_targets = g_array_new (FALSE, FALSE, sizeof (guint64));
|
chapter_targets = g_array_new (FALSE, FALSE, sizeof (guint64));
|
||||||
taglist = gst_tag_list_new ();
|
taglist = gst_tag_list_new_empty ();
|
||||||
|
|
||||||
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)) {
|
||||||
/* read all sub-entries */
|
/* read all sub-entries */
|
||||||
|
|
Loading…
Reference in a new issue