From b57a7c3de707b0ed5bb24ce7e753796cc09c42e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Wed, 20 Jan 2021 11:53:51 +0100 Subject: [PATCH] matroska: Set image/attachment structure mimetype Set structure mimetype to fix data detection by mimetype in other plugins. Part-of: --- subprojects/gst-plugins-good/gst/matroska/matroska-read-common.c | 1 + 1 file changed, 1 insertion(+) 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 d83ca12446..e2bedc8c1a 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);