You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Copying //UE4/Dev-Enterprise [at] cl 4784880 to Dev-Main (//UE4/Dev-Main)
#rb none #lockdown Nick.Penwarden #ROBOMERGE-OWNER: robert.manuszewski #ROBOMERGE-AUTHOR: jeanmichel.dignard #ROBOMERGE-SOURCE: CL 4784913 in //UE4/Main/... #ROBOMERGE-BOT: CORE (Main -> Dev-Core) [CL 4793830 by Robert Manuszewski in Dev-Core branch]
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#include "WebRTCProxyPCH.h"
|
||||
#include "VideoEncoder.h"
|
||||
#include "Logging.h"
|
||||
#include "H264FrameBuffer.h"
|
||||
@@ -59,7 +58,7 @@ std::unique_ptr<webrtc::VideoEncoder> FVideoEncoderFactory::CreateVideoEncoder(c
|
||||
{
|
||||
FClientSession* Session;
|
||||
bool res = PendingClientSessions.Pop(Session, 0);
|
||||
checkf(res, "no client session associated with encoder instance");
|
||||
checkf(res, TEXT("no client session associated with encoder instance"));
|
||||
|
||||
auto VideoEncoder = std::make_unique<FVideoEncoder>(*VideoSource, *Session);
|
||||
Session->VideoEncoder = VideoEncoder.get();
|
||||
|
||||
Reference in New Issue
Block a user