mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 20:35:12 +00:00
5a3954ae0e
Fixes several files incorrectly stated a different license from the actual project, as well as the copyright headers included in all files. This change has no effect on the licensing terms, it should clear up a bit of confusion by contributors. Plus the files get a bit smaller, and we have less duplicated information across the entire project. Overall the project is GPLv2 if not built with Qt, and GPLv3 if it is built with Qt. There are no parts licensed under a different license, all have been adapted from other compatible licenses into GPLv2 or GPLv3.
19 lines
529 B
C++
19 lines
529 B
C++
// AUTOGENERATED COPYRIGHT HEADER START
|
|
// Copyright (C) 2021-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
|
// AUTOGENERATED COPYRIGHT HEADER END
|
|
|
|
#include "av1.hpp"
|
|
|
|
const char* streamfx::encoder::codec::av1::profile_to_string(profile p)
|
|
{
|
|
switch (p) {
|
|
case profile::MAIN:
|
|
return D_TRANSLATE(S_CODEC_AV1_PROFILE ".Main");
|
|
case profile::HIGH:
|
|
return D_TRANSLATE(S_CODEC_AV1_PROFILE ".High");
|
|
case profile::PROFESSIONAL:
|
|
return D_TRANSLATE(S_CODEC_AV1_PROFILE ".Professional");
|
|
default:
|
|
return "Unknown";
|
|
}
|
|
}
|