"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/AV/Output/BaseEncoder.cpp" between
ssr-0.3.10.tar.gz and ssr-0.3.11.tar.gz

About: SimpleScreenRecorder is a screen (video-audio) recorder for Linux.

BaseEncoder.cpp  (ssr-0.3.10):BaseEncoder.cpp  (ssr-0.3.11)
skipping to change at line 216 skipping to change at line 216
usleep(20000); usleep(20000);
continue; continue;
} }
// encode the frame // encode the frame
EncodeFrame(frame.get()); EncodeFrame(frame.get());
} }
// flush the encoder // flush the encoder
if(!m_should_stop && (m_codec_context->codec->capabilities & CODE C_CAP_DELAY)) { if(!m_should_stop && (m_codec_context->codec->capabilities & AV_C ODEC_CAP_DELAY)) {
Logger::LogInfo("[BaseEncoder::EncoderThread] " + Logger: :tr("Flushing encoder ...")); Logger::LogInfo("[BaseEncoder::EncoderThread] " + Logger: :tr("Flushing encoder ..."));
while(!m_should_stop) { while(!m_should_stop) {
if(!EncodeFrame(NULL)) { if(!EncodeFrame(NULL)) {
break; break;
} }
} }
} }
// tell the others that we're done // tell the others that we're done
m_is_done = true; m_is_done = true;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)