view src/track/constants.cc @ 97:18979b066284

animia/unix: fix a bunch of stuff that breaks OS X things
author Paper <mrpapersonic@gmail.com>
date Thu, 02 Nov 2023 13:14:15 -0400
parents d02fdf1d6708
children f5940a575d83
line wrap: on
line source

#include "track/constants.h"

// clang-format off
// https://github.com/llvm/llvm-project/issues/62676
const std::vector<std::string> media_extensions = {
    "avi",
    "asf",
    "mp4",
    "mkv",
    "wmv"
};

const std::vector<std::string> media_players = {
#ifdef MACOSX
    "VLC", "IINA", "QuickTime Player"
#elif WIN32
    "vlc.exe", "mpc-hc.exe", "mpc-hc64.exe", "wmplayer.exe", "mpv.exe"
#else // linux, unix, whatevs
    "vlc", "mpv", "mpc-qt"
#endif
};
// clang-format on