From ab8100e664fd8eb2f9afd488fcac76ca7022b7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 9 Jan 2019 17:52:28 +0200 Subject: [PATCH] flvdemux: Handle the encoder metadata the same as metadatacreator And store it in our ENCODER tag. --- gst/flv/gstflvdemux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 1f538888bd..cffbd58e41 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -422,7 +422,8 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader, } 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") + || !strcmp (tag_name, "encoder")) { gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE, GST_TAG_ENCODER, s, NULL); } else {