Files
UnrealEngineUWP/Engine/Source/Runtime/Windows/WindowsPlatformFeatures/Private/WindowsPlatformFeatures.cpp
Rui Figueira c6c755a1f3 UE-74862 : Reusable media encoder framework implementation
#rb Andriy.Tylychko

[CL 10462307 by Rui Figueira in Main branch]
2019-11-26 17:28:51 -05:00

28 lines
699 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "WindowsPlatformFeatures.h"
#include "WmfPrivate.h"
#include "WindowsVideoRecordingSystem.h"
#include "Misc/CommandLine.h"
IMPLEMENT_MODULE(FWindowsPlatformFeaturesModule, WindowsPlatformFeatures);
WINDOWSPLATFORMFEATURES_START
FWindowsPlatformFeaturesModule::FWindowsPlatformFeaturesModule()
{
}
IVideoRecordingSystem* FWindowsPlatformFeaturesModule::GetVideoRecordingSystem()
{
static FWindowsVideoRecordingSystem VideoRecordingSystem;
return &VideoRecordingSystem;
}
void FWindowsPlatformFeaturesModule::StartupModule()
{
FModuleManager::Get().LoadModule(TEXT("GameplayMediaEncoder"));
}
WINDOWSPLATFORMFEATURES_END