From 35527e5c1495c990e0e10729db4f3b4f48541f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Wed, 1 May 2024 16:32:29 +0200 Subject: [PATCH] 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 --- src/lib/clapper-gtk/clapper-gtk-video.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/clapper-gtk/clapper-gtk-video.c b/src/lib/clapper-gtk/clapper-gtk-video.c index 3abcd1b2..a5322baf 100644 --- a/src/lib/clapper-gtk/clapper-gtk-video.c +++ b/src/lib/clapper-gtk/clapper-gtk-video.c @@ -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);