private static boolean shouldUseGifToWebm(MediaUri uri, Settings settings) { return !uri.isLocal() && settings.convertGifToWebm(); }