| | |
| | | sws_freeContext(convert_ctx); |
| | | |
| | | DBG("m.size is " << m.size()); |
| | | // LOG_IF(); |
| | | |
| | | return m; |
| | | } |
| | |
| | | av_init_packet(&p_this->pkt); |
| | | |
| | | p_this->frame = av_frame_alloc(); |
| | | unsigned int usleepTime = (1000 / p_this->m_fps) - 12; |
| | | usleepTime *= 1000; |
| | | // unsigned int usleepTime = (1000 / p_this->m_fps) - 12; |
| | | // usleepTime *= 1000; |
| | | DBG("===open ok, camid: " << p_this->m_camIdx); |
| | | while (p_this->m_running) { |
| | | #ifdef TestCode |
| | |
| | | // DBG("emitSigal(\"DecoderImageOK\") after"); |
| | | //#endif |
| | | |
| | | DBG("emitSigal(\"DecoderImageOK\") after"); |
| | | DBG("p_this->m_camIdx is " << p_this->m_camIdx << " queue size is " << p_this->m_rtpQueue.count_queue()); |
| | | // DBG("emitSigal(\"DecoderImageOK\") after"); |
| | | |
| | | // DBG("p_this->m_camIdx is " << p_this->m_camIdx << " queue size is " << p_this->m_rtpQueue.count_queue()); |
| | | |
| | | #ifdef TestCode |
| | | { |