From: Rafał Dzięgiel Date: Wed, 20 Jan 2021 10:53:51 +0000 (+0100) Subject: matroska: Set image/attachment structure mimetype X-Git-Tag: 1.19.3~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b57a7c3de707b0ed5bb24ce7e753796cc09c42e9;p=platform%2Fupstream%2Fgstreamer.git matroska: Set image/attachment structure mimetype Set structure mimetype to fix data detection by mimetype in other plugins. Part-of: --- diff --git a/subprojects/gst-plugins-good/gst/matroska/matroska-read-common.c b/subprojects/gst-plugins-good/gst/matroska/matroska-read-common.c index d83ca12..e2bedc8 100644 --- a/subprojects/gst-plugins-good/gst/matroska/matroska-read-common.c +++ b/subprojects/gst-plugins-good/gst/matroska/matroska-read-common.c @@ -857,6 +857,7 @@ gst_matroska_read_common_parse_attached_file (GstMatroskaReadCommon * common, info = gst_structure_new_empty (structure_name); } gst_structure_set (info, "filename", G_TYPE_STRING, filename, NULL); + gst_structure_set (info, "mimetype", G_TYPE_STRING, mimetype, NULL); if (description) gst_structure_set (info, "description", G_TYPE_STRING, description, NULL);