git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.0.0.2@742
362d55ac-95cf-4e76-9f9a-
cbaa9c17b72d
{\r
perf_timer_.restart();\r
\r
- for(size_t n = 0; ouput_channel_.size() < 2 && input_.has_packet() && n < 32; ++n) // 32 packets should be enough. Otherwise there probably was an error and we want to avoid infinite recursion.\r
+ for(size_t n = 0; ouput_channel_.size() < 2 && input_.has_packet() && n < 32; ++n) // 32 packets should be enough. Otherwise there probably was an error and we want to avoid infinite looping.\r
{ \r
tbb::parallel_invoke\r
(\r
\r
bool is_eof() const\r
{\r
- return ouput_channel_.empty() && (!video_decoder_ && !audio_decoder_) || !input_.is_running();\r
+ return ouput_channel_.empty() && ((!video_decoder_ && !audio_decoder_) || !input_.is_running());\r
}\r
};\r
\r