Skip to content

Commit ecc7e61

Browse files
committed
save
1 parent aa3c58e commit ecc7e61

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/cmake.yml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
env:
88
BUILD_TYPE: RelWithDebInfo
99
BACKTRACE_SUBMIT_TOKEN: ${{ secrets.BACKTRACE_SUBMIT_TOKEN }}
10-
VCPKG_PLATFORM_TOOLSET_VERSION: 14.34.31933
1110
VCPKG_ROOT: "C:/vcpkg"
1211

1312
concurrency:

codec/nv12_to_bgra.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ ID3D11Texture2D *Nv12ToBgra::getSharedTargetTexture(ID3D11Device *dev, ID3D11Dev
474474
if (!_texture_rgba_copy_shared)
475475
return nullptr;
476476

477+
if (!dev || !ctx)
478+
return nullptr;
479+
477480
lock.lock();
478481

479482
ID3D11Texture2D *src;

main.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void initializeCrashpad() {
242242
#endif
243243

244244
void writeQtLogThread() {
245-
std::cout << "writeQtLogThread start" << std::endl;
245+
std::cout << "writeQtLogThread" << std::endl;
246246

247247
QFile outFile(VLINK_LOG_FILE);
248248
outFile.open(QIODevice::WriteOnly | QIODevice::Append);
@@ -256,8 +256,6 @@ void writeQtLogThread() {
256256
QThread::msleep(1);
257257
}
258258
}
259-
260-
std::cout << "writeQtLogThread exit" << std::endl;
261259
}
262260

263261
void customMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg) {

0 commit comments

Comments
 (0)