From 51e01d6bb5decfe6ea4f9c0492db927aa63aea38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 29 Apr 2009 13:03:27 +0200 Subject: flv: Add support for title tag --- gst/flv/gstflvparse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gst/flv') diff --git a/gst/flv/gstflvparse.c b/gst/flv/gstflvparse.c index 015e51d5..b9266685 100644 --- a/gst/flv/gstflvparse.c +++ b/gst/flv/gstflvparse.c @@ -209,6 +209,9 @@ gst_flv_parse_metadata_item (GstFLVDemux * demux, GstByteReader * reader, } else if (!strcmp (tag_name, "creator")) { gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE, GST_TAG_ARTIST, s, NULL); + } else if (!strcmp (tag_name, "title")) { + gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE, + GST_TAG_TITLE, s, NULL); } else if (!strcmp (tag_name, "metadatacreator")) { gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE, GST_TAG_ENCODER, s, NULL); @@ -432,7 +435,6 @@ gst_flv_parse_tag_script (GstFLVDemux * demux, GstBuffer * buffer) } } - return ret; } -- cgit v1.2.1