mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
flvdemux: Handle the encoder metadata the same as metadatacreator
And store it in our ENCODER tag.
This commit is contained in:
parent
c28a9d5d9c
commit
ab8100e664
1 changed files with 2 additions and 1 deletions
|
@ -422,7 +422,8 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader,
|
||||||
} else if (!strcmp (tag_name, "title")) {
|
} else if (!strcmp (tag_name, "title")) {
|
||||||
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
|
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
|
||||||
GST_TAG_TITLE, s, NULL);
|
GST_TAG_TITLE, s, NULL);
|
||||||
} else if (!strcmp (tag_name, "metadatacreator")) {
|
} else if (!strcmp (tag_name, "metadatacreator")
|
||||||
|
|| !strcmp (tag_name, "encoder")) {
|
||||||
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);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue