Mercurial > minori
diff src/track/constants.cc @ 100:f5940a575d83
track/constants: add many more video formats
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 03 Nov 2023 09:43:04 -0400 |
parents | 18979b066284 |
children | 39521c47c7a3 |
line wrap: on
line diff
--- a/src/track/constants.cc Fri Nov 03 09:00:46 2023 -0400 +++ b/src/track/constants.cc Fri Nov 03 09:43:04 2023 -0400 @@ -2,12 +2,48 @@ // clang-format off // https://github.com/llvm/llvm-project/issues/62676 + +/* right now, these are just const vectors, but eventually + I'll make a class to manage these and make them disableable */ const std::vector<std::string> media_extensions = { + "mkv", + "mp4", + "m4v", /* apple's stupid DRM thing */ "avi", + "webm", /* matroska's retarded inbred cousin */ + /* QuickTime */ + "mov", + "qt", + /* MPEG transport stream */ + "mts", + "m2ts", + "ts", + /* MPEG-1, typically not used for anime */ + "mpg", + "mp2", + "mpeg", + "mpe", + "mpv", + /* MPEG-2 */ + "m2v" + /* 3GPP */ + "3gp", + "3g2", + /* Windows Media */ "asf", - "mp4", - "mkv", - "wmv" + "wmv", + /* Adobe Flash */ + "flv", + "swf", /* not exactly a video format */ + /* Ogg Video */ + "ogv", + /* RealPlayer (who tf uses this?) */ + "rm", + "rmvb", + /* Nullsoft Streaming Video (Winamp) */ + "nsv", + /* Material Exchange Format (Sony?) */ + "mxf" }; const std::vector<std::string> media_players = {