Mercurial > minori
comparison src/track/constants.cc @ 82:8b65c417c225
*: fix old stuff, make video players and extensions constants
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Mon, 23 Oct 2023 13:37:42 -0400 |
| parents | |
| children | d02fdf1d6708 |
comparison
equal
deleted
inserted
replaced
| 81:9b2b41f83a5e | 82:8b65c417c225 |
|---|---|
| 1 #include "track/constants.h" | |
| 2 | |
| 3 const std::vector<std::string> media_extensions = { | |
| 4 "avi", | |
| 5 "asf", | |
| 6 "mp4", | |
| 7 "mkv", | |
| 8 "wmv" | |
| 9 }; | |
| 10 | |
| 11 const std::vector<std::string> media_players = { | |
| 12 #ifdef MACOSX | |
| 13 "VLC" | |
| 14 #elif WIN32 | |
| 15 "vlc.exe", "mpc-hc.exe", "mpc-hc64.exe", "wmplayer.exe" | |
| 16 #else // linux, unix, whatevs | |
| 17 "vlc", "mpv", "mpc-qt" | |
| 18 #endif | |
| 19 }; |
