mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
clang-format: Increase column limit from 80 to 120
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user