From bc761c94c7a6e1d5ddde28ea073be6310bd230f7 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 2 Apr 2012 23:35:43 +0200 Subject: [PATCH] mkv: port toc changes to 0.11 --- gst/matroska/matroska-read-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/matroska/matroska-read-common.c b/gst/matroska/matroska-read-common.c index 97b8cd9d09..a95a95ee55 100644 --- a/gst/matroska/matroska-read-common.c +++ b/gst/matroska/matroska-read-common.c @@ -934,7 +934,7 @@ gst_matroska_read_common_parse_chapter_element (GstMatroskaReadCommon * common, return ret; } - titles = gst_tag_list_new (); + titles = gst_tag_list_new_empty (); chapter_info = gst_toc_entry_new (GST_TOC_ENTRY_TYPE_CHAPTER, 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)); 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)) { /* read all sub-entries */