Skip to content

Commit

Permalink
Update H264EncoderNVCodecHelper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaljain-apra authored Sep 16, 2024
1 parent 24df6a3 commit 39c24b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/src/H264EncoderNVCodecHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ class H264EncoderNVCodecHelper::Detail
LOG_INFO << "Allocated <" << bufferLength << "> outputbitstreams to the encoder buffer.";
m_nvcodecResources->m_nFreeOutputBitstreams += bufferLength;
}
else
else if(!m_nvcodecResources->m_nFreeOutputBitstreams)
{
LOG_INFO << "waiting for free outputbitstream<> busy streams<" << m_nvcodecResources->m_nBusyOutputBitstreams << ">";
}
Expand Down Expand Up @@ -715,4 +715,4 @@ void H264EncoderNVCodecHelper::endEncode()
bool H264EncoderNVCodecHelper::getSPSPPS(void*& buffer, size_t& size, int& width, int& height)
{
return mDetail->getSPSPPS(buffer, size, width, height);
}
}

0 comments on commit 39c24b6

Please sign in to comment.