From: <sl...@ke...> - 2009-05-12 19:58:47
|
Module: gst-plugins-good Branch: master Commit: 170294e976a516e02ddb9a0c0aa787f65fd9034c URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=170294e976a516e02ddb9a0c0aa787f65fd9034c Author: Sebastian Dröge <seb...@co...> Date: Wed Apr 29 13:03:27 2009 +0200 [MOVED FROM BAD 52/57] flv: Add support for title tag --- 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 015e51d..b926668 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; } |