Mercurial > minori
annotate src/track/constants.cc @ 91:29e2840d9b7b
*: oops
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 31 Oct 2023 23:56:10 -0400 |
parents | d02fdf1d6708 |
children | 18979b066284 |
rev | line source |
---|---|
82
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
1 #include "track/constants.h" |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
2 |
83 | 3 // clang-format off |
4 // https://github.com/llvm/llvm-project/issues/62676 | |
82
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
5 const std::vector<std::string> media_extensions = { |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
6 "avi", |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
7 "asf", |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
8 "mp4", |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
9 "mkv", |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
10 "wmv" |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
11 }; |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
12 |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
13 const std::vector<std::string> media_players = { |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
14 #ifdef MACOSX |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
15 "VLC" |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
16 #elif WIN32 |
83 | 17 "vlc.exe", "mpc-hc.exe", "mpc-hc64.exe", "wmplayer.exe", "mpv.exe" |
82
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
18 #else // linux, unix, whatevs |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
19 "vlc", "mpv", "mpc-qt" |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
20 #endif |
8b65c417c225
*: fix old stuff, make video players and extensions constants
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
21 }; |
83 | 22 // clang-format on |