Browse Source

Small fix in Live555

master
Evgeny Gagua 1 hour ago
parent
commit
22adcf0399
  1. 3
      lib/data/media/video/videoLive555AVLibSource.cpp

3
lib/data/media/video/videoLive555AVLibSource.cpp

@ -520,7 +520,8 @@ void DummySink::afterGettingFrame(unsigned frameSize, unsigned numTruncatedBytes
if ((m_pSession->getWM() & MS_MODE_DECODE_FRAMES) && canDecode()){
int ret = avcodec_send_packet( m_pCodecContext, &m_sAvPkt );
if( ret < 0 ){
LOG_ERROR("Error Send Packet to Decoder!");
//No error here - just icomplete data to decode frame
//LOG_ERROR("Error Send Packet to Decoder!");
};
while ( ret >= 0 ) {
ret = avcodec_receive_frame( m_pCodecContext, m_pFrame );

Loading…
Cancel
Save