From bd40d2e33ff4b112d5ca364ddfaa33efd5cc647b Mon Sep 17 00:00:00 2001 From: Young Han Lee Date: Fri, 10 Apr 2015 16:05:45 +0900 Subject: [PATCH] oggdemux: remove unused code These lines have done nothing for about 10 years. https://bugzilla.gnome.org/show_bug.cgi?id=748820 --- ext/ogg/gstoggdemux.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index c61f374660..c6c652f71f 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2093,7 +2093,6 @@ static GstOggPad * gst_ogg_chain_new_stream (GstOggChain * chain, guint32 serialno) { GstOggPad *ret; - GstTagList *list; gchar *name; GST_DEBUG_OBJECT (chain->ogg, @@ -2115,12 +2114,6 @@ gst_ogg_chain_new_stream (GstOggChain * chain, guint32 serialno) if (ogg_stream_init (&ret->map.stream, serialno) != 0) goto init_failed; - /* FIXME: either do something with it or remove it */ - list = gst_tag_list_new_empty (); - gst_tag_list_add (list, GST_TAG_MERGE_REPLACE, GST_TAG_SERIAL, serialno, - NULL); - gst_tag_list_unref (list); - GST_DEBUG_OBJECT (chain->ogg, "created new ogg src %p for stream with serial %08x", ret, serialno);