clang-format: Increase column limit from 80 to 120

This commit is contained in:
Ryan Foster
2024-10-04 17:33:58 -04:00
parent 109f64c446
commit a1fbf1015f
736 changed files with 22684 additions and 45435 deletions
+3 -11
View File
@@ -1,8 +1,6 @@
#include "decklink-device-mode.hpp"
DeckLinkDeviceMode::DeckLinkDeviceMode(IDeckLinkDisplayMode *mode, long long id)
: id(id),
mode(mode)
DeckLinkDeviceMode::DeckLinkDeviceMode(IDeckLinkDisplayMode *mode, long long id) : id(id), mode(mode)
{
if (mode == nullptr)
return;
@@ -12,12 +10,7 @@ DeckLinkDeviceMode::DeckLinkDeviceMode(IDeckLinkDisplayMode *mode, long long id)
DeckLinkStringToStdString(decklinkStringName, name);
}
DeckLinkDeviceMode::DeckLinkDeviceMode(const std::string &name, long long id)
: id(id),
mode(nullptr),
name(name)
{
}
DeckLinkDeviceMode::DeckLinkDeviceMode(const std::string &name, long long id) : id(id), mode(nullptr), name(name) {}
DeckLinkDeviceMode::~DeckLinkDeviceMode(void) {}
@@ -45,8 +38,7 @@ int DeckLinkDeviceMode::GetHeight()
return 0;
}
bool DeckLinkDeviceMode::GetFrameRate(BMDTimeValue *frameDuration,
BMDTimeScale *timeScale)
bool DeckLinkDeviceMode::GetFrameRate(BMDTimeValue *frameDuration, BMDTimeScale *timeScale)
{
if (mode != nullptr)
return SUCCEEDED(mode->GetFrameRate(frameDuration, timeScale));