gstreamer/gst/typefind
Sebastian Dröge 3036521fb6 typefind/xdgmime: Validate mimetypes to be valid GstStructure names before using them
On macOS, for example, "text/*" can be returned as mimetype for
plaintext files but we don't allow '*' in structure names and this would
cause critical warnings.

It's a valid mimetype but not a valid structure name.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/616

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/875>
2020-10-17 10:42:49 +03:00
..
gsttypefindfunctions.c typefind/xdgmime: Validate mimetypes to be valid GstStructure names before using them 2020-10-17 10:42:49 +03:00
meson.build typefindfunctions: build gio xdgmime typefinder again 2019-12-09 07:33:55 +00:00