diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-04-29 13:03:27 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-04-29 13:03:27 +0200 |
commit | 51e01d6bb5decfe6ea4f9c0492db927aa63aea38 (patch) | |
tree | d942328daddb3c013423bc74b8aee6c8b7ce9852 /gst | |
parent | bf4d7d233dca3096732b3834804cc676d299bbe3 (diff) | |
download | gst-plugins-bad-51e01d6bb5decfe6ea4f9c0492db927aa63aea38.tar.gz gst-plugins-bad-51e01d6bb5decfe6ea4f9c0492db927aa63aea38.tar.bz2 gst-plugins-bad-51e01d6bb5decfe6ea4f9c0492db927aa63aea38.zip |
flv: Add support for title tag
Diffstat (limited to 'gst')
-rw-r--r-- | gst/flv/gstflvparse.c | 4 |
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; } |