Commit bc761c94 authored by Stefan Sauer's avatar Stefan Sauer
Browse files

mkv: port toc changes to 0.11

parent 50bc831c
...@@ -934,7 +934,7 @@ gst_matroska_read_common_parse_chapter_element (GstMatroskaReadCommon * common, ...@@ -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, ...@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment