mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
matroska: Set image/attachment structure mimetype
Set structure mimetype to fix data detection by mimetype in other plugins. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1205>
This commit is contained in:
parent
0ba65a00c9
commit
b57a7c3de7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue