Fix voor disconnect probleem in RTMP connector

This commit is contained in:
Thulinma 2010-11-04 23:28:24 +01:00
parent ceeef9b29e
commit cde417a7b6
2 changed files with 5 additions and 1 deletions

View file

@ -492,5 +492,9 @@ chunkpack getWholeChunk(){
free(ret);//cleanup returned chunk
return gwc_complete;
}
if (!std::cout.good()){
gwc_complete.msg_type_id = 0;
return gwc_complete;
}
}
}//getWholeChunk