|
|
|
@ -21,6 +21,7 @@ videoAVLIBDestination::videoAVLIBDestination(){ |
|
|
|
m_nWidth = VIDEO_OUTPUT_WIDTH; |
|
|
|
m_nHeight = VIDEO_OUTPUT_HEIGHT; |
|
|
|
LOG("Constructor Done!"); |
|
|
|
m_bRecordIsStarted = false; |
|
|
|
}; |
|
|
|
|
|
|
|
videoAVLIBDestination::~videoAVLIBDestination(){ |
|
|
|
@ -486,8 +487,7 @@ static void log_packet( CSTR tBuff, const AVFormatContext *fmt_ctx, const AVPack |
|
|
|
*/ |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
void videoAVLIBDestination::pushFrame( cv::Mat *m_mFrame ){ |
|
|
|
void videoAVLIBDestination::pushFrame(cv::Mat *m_mFrame, void *src ){ |
|
|
|
if (!m_bRecordIsStarted) return; |
|
|
|
if (m_mFrame != NULL) { |
|
|
|
if (img_convert_ctx == NULL) { |
|
|
|
|