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-05-12 21:21:02 +0200 |
commit | 170294e976a516e02ddb9a0c0aa787f65fd9034c (patch) | |
tree | 752f04c333613db5538ab2cb4c531c77ee3e1d96 | |
parent | 32c2364ff213f8a44c6e074b1829b0d2c7243584 (diff) |
[MOVED FROM BAD 52/57] flv: Add support for title tag
-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 015e51d5f..b92666853 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; } |