Fix crash caused by remote desk client leaves

This commit is contained in:
dijunkun
2023-09-01 18:08:56 +08:00
parent af285f4b5b
commit d20df60472
144 changed files with 32834 additions and 24 deletions

View File

@@ -589,8 +589,8 @@ int NvDecoder::HandlePictureDisplay(CUVIDPARSERDISPINFO *pDispInfo) {
if (result == CUDA_SUCCESS &&
(DecodeStatus.decodeStatus == cuvidDecodeStatus_Error ||
DecodeStatus.decodeStatus == cuvidDecodeStatus_Error_Concealed)) {
printf("Decode Error occurred for picture %d\n",
m_nPicNumInDecodeOrder[pDispInfo->picture_index]);
// printf("Decode Error occurred for picture %d\n",
// m_nPicNumInDecodeOrder[pDispInfo->picture_index]);
}
uint8_t *pDecodedFrame = nullptr;

View File

@@ -49,7 +49,7 @@ int VideoDecoder::Decode(const uint8_t *pData, int nSize) {
}
if ((*(pData + 4) & 0x1f) == 0x07) {
LOG_WARN("Receive key frame");
// LOG_WARN("Receive key frame");
}
if (SAVE_ENCODER_STREAM) {