mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
[MOVED FROM BAD 52/57] flv: Add support for title tag
This commit is contained in:
parent
32c2364ff2
commit
170294e976
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue