From: Stefan Sauer Date: Mon, 2 Apr 2012 21:35:43 +0000 (+0200) Subject: mkv: port toc changes to 0.11 X-Git-Tag: 1.19.3~509^2~7153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc761c94c7a6e1d5ddde28ea073be6310bd230f7;p=platform%2Fupstream%2Fgstreamer.git mkv: port toc changes to 0.11 --- diff --git a/gst/matroska/matroska-read-common.c b/gst/matroska/matroska-read-common.c index 97b8cd9..a95a95e 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 */