clapper-gtk: Ignore missing plugins for metadata

Some media files have custom/proprietary metadata.
It should be safe to simply ignore these, since we do
not map metadata to any sort of Clapper stream anyway.

Fixes #441
This commit is contained in:
Rafał Dzięgiel
2024-05-01 16:32:29 +02:00
parent e060048969
commit 35527e5c14

View File

@@ -1063,6 +1063,11 @@ static void
_player_missing_plugin_cb (ClapperPlayer *player, const gchar *name,
const gchar *installer_detail, ClapperGtkVideo *self)
{
/* Some media files have custom/proprietary metadata,
* it should be safe to simply ignore these */
if (g_str_has_prefix (name, "meta/"))
return;
/* XXX: Playbin2 seems to not emit state change here,
* so manually stop buffering animation just in case */
_set_buffering_animation_enabled (self, FALSE);