Skip to content

Commit

Permalink
7d1f51e の不具合修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed May 14, 2020
1 parent 4ecea00 commit 23a6edc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions VCECore/rgy_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#ifndef __RGY_VERSION_H__
#define __RGY_VERSION_H__

#define VER_FILEVERSION 0,6,1,0
#define VER_STR_FILEVERSION "6.01"
#define VER_STR_FILEVERSION_TCHAR _T("6.01")
#define VER_FILEVERSION 0,6,2,0
#define VER_STR_FILEVERSION "6.02"
#define VER_STR_FILEVERSION_TCHAR _T("6.02")


#ifdef _M_IX86
Expand Down
11 changes: 11 additions & 0 deletions VCECore/vce_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2311,6 +2311,17 @@ RGY_ERR VCECore::run() {
}
}
}
while (dqEncFrames.size() > 0) {
auto &encframe = dqEncFrames.front();
RGY_ERR err = send_encoder(encframe);
if (err != RGY_ERR_NONE) {
res = err;
m_state = RGY_STATE_ERROR;
PrintMes(RGY_LOG_ERROR, _T("Failed to send frame to encoder.\n"));
break;
}
dqEncFrames.pop_front();
}
if (m_thDecoder.joinable()) {
DWORD exitCode = 0;
while (GetExitCodeThread(m_thDecoder.native_handle(), &exitCode) == STILL_ACTIVE) {
Expand Down

0 comments on commit 23a6edc

Please sign in to comment.