mirror of
				https://github.com/Rafostar/clapper.git
				synced 2025-10-31 02:15:36 +01:00 
			
		
		
		
	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:
		| @@ -1063,6 +1063,11 @@ static void | |||||||
| _player_missing_plugin_cb (ClapperPlayer *player, const gchar *name, | _player_missing_plugin_cb (ClapperPlayer *player, const gchar *name, | ||||||
|     const gchar *installer_detail, ClapperGtkVideo *self) |     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, |   /* XXX: Playbin2 seems to not emit state change here, | ||||||
|    * so manually stop buffering animation just in case */ |    * so manually stop buffering animation just in case */ | ||||||
|   _set_buffering_animation_enabled (self, FALSE); |   _set_buffering_animation_enabled (self, FALSE); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user