clapper-app: Fix missing media in file dialog on Windows

Windows does not support mime-types file filters, so use file extensions instead
This commit is contained in:
Rafał Dzięgiel
2024-06-20 19:43:40 +02:00
parent 0b253b41f6
commit abff579b70
3 changed files with 48 additions and 1 deletions

View File

@@ -26,6 +26,14 @@ G_BEGIN_DECLS
typedef void (* ClapperAppUtilsIterRanks) (const gchar *feature_name, GstRank rank, gboolean from_env, gpointer user_data);
#ifdef G_OS_WIN32
G_GNUC_INTERNAL
const gchar *const * clapper_app_utils_get_extensions (void);
G_GNUC_INTERNAL
const gchar *const * clapper_app_utils_get_subtitles_extensions (void);
#endif
G_GNUC_INTERNAL
const gchar *const * clapper_app_utils_get_mime_types (void);