|
|
@@ -584,6 +584,7 @@ bool libvideorecord_impl::EndRecord()
|
|
|
bool libvideorecord_impl::Rvc_Timeout(int ms)
|
|
|
{
|
|
|
bool bTimeout = true;
|
|
|
+
|
|
|
#ifdef _WIN32
|
|
|
DWORD dwRet = WaitForSingleObject(m_hEventWait, ms);
|
|
|
if (WAIT_TIMEOUT == dwRet) {
|
|
|
@@ -1706,9 +1707,9 @@ bool libvideorecord_impl::ReceiveRecordAudioData(unsigned char* pData, unsigned
|
|
|
}
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
-bool libvideorecord_impl::setRightWaterMark(const char* strWaterMark, size_t ulen)
|
|
|
+bool libvideorecord_impl::setRightWaterMark(const char* strWaterMark, uint32_t ulen)
|
|
|
#else
|
|
|
-bool libvideorecord_impl::setRightWaterMark(const wchar_t* strWaterMark, size_t ulen)
|
|
|
+bool libvideorecord_impl::setRightWaterMark(const wchar_t* strWaterMark, uint32_t ulen)
|
|
|
#endif
|
|
|
{
|
|
|
bool bRet = false;
|
|
|
@@ -1919,7 +1920,6 @@ void libvideorecord_impl::MediaSynchronous()
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
int libvideorecord_impl::WriteVideoFrame()
|
|
|
{
|
|
|
int iret = 0;
|