diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-07-18 00:01:32 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-07-18 00:01:32 +0100 |
commit | 024144a2cb9ebe8e59b7d7661b403a257bb8f294 (patch) | |
tree | 630b86407a946c463f1da262b2d8b52f1b1711ab | |
parent | e8ceb44bbf70735be4590e47541b863fd82fdc33 (diff) |
media-descriptor-writer: remove unnecessary call and fix compiler warning
GstTagList is no longer a GstStructure, so can't just call
GstStructure API on it. Also, there shouldn't be any need
to remove this field from tag lists any more in 0.11, since
it should't be added any longer.
-rw-r--r-- | tests/media-descriptor-writer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/media-descriptor-writer.c b/tests/media-descriptor-writer.c index 9c82738..67abb46 100644 --- a/tests/media-descriptor-writer.c +++ b/tests/media-descriptor-writer.c @@ -269,7 +269,6 @@ media_descriptor_writer_add_taglist (MediaDescriptorWriter * writer, tagnode = g_slice_new0 (TagNode); tagnode->taglist = gst_tag_list_copy (taglist); - gst_structure_remove_field (tagnode->taglist, "source-pad"); str_str = gst_tag_list_to_string (tagnode->taglist); tagnode->str_open = g_markup_printf_escaped ("<tag content=\"%s\"/>", str_str); |