summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-29 13:03:27 +0200
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:19 -0400
commitbaca280d46da2241e2ad36f23f44de262fedf6e1 (patch)
treeabdc8e4092a6c4d97e7fb3980d58f98f6a8c95d6 /gst
parent48e85fe4c518931d3ecf9532822be6139e7a52ca (diff)
downloadgst-plugins-bad-baca280d46da2241e2ad36f23f44de262fedf6e1.tar.gz
gst-plugins-bad-baca280d46da2241e2ad36f23f44de262fedf6e1.tar.bz2
gst-plugins-bad-baca280d46da2241e2ad36f23f44de262fedf6e1.zip
flv: Add support for title tag
Diffstat (limited to 'gst')
-rw-r--r--gst/flv/gstflvparse.c4
1 files changed, 3 insertions, 1 deletions
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;
}