mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +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")) {
|
} else if (!strcmp (tag_name, "creator")) {
|
||||||
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
|
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
|
||||||
GST_TAG_ARTIST, s, NULL);
|
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")) {
|
} else if (!strcmp (tag_name, "metadatacreator")) {
|
||||||
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
|
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
|
||||||
GST_TAG_ENCODER, s, NULL);
|
GST_TAG_ENCODER, s, NULL);
|
||||||
|
@ -432,7 +435,6 @@ gst_flv_parse_tag_script (GstFLVDemux * demux, GstBuffer * buffer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue