Skip to content

Commit 14cdbef

Browse files
committed
clapper-gtk: Fix metadata ignore for different languages
Since missing plugin string is translated, word describing its type (e.g. Decoder) might come before plugin name itself, so we need to check whole text to find substring instead of checking only prefix. Fixes #477
1 parent 931dc25 commit 14cdbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/clapper-gtk/clapper-gtk-video.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ _player_missing_plugin_cb (ClapperPlayer *player, const gchar *name,
10651065
{
10661066
/* Some media files have custom/proprietary metadata,
10671067
* it should be safe to simply ignore these */
1068-
if (g_str_has_prefix (name, "meta/"))
1068+
if (strstr (name, "meta/") != NULL)
10691069
return;
10701070

10711071
/* XXX: Playbin2 seems to not emit state change here,

0 commit comments

Comments
 (0)