Fixesheids

This commit is contained in:
Thulinma 2011-03-19 16:45:46 +01:00
parent 59e2f66238
commit ef99414220

View file

@ -254,10 +254,12 @@ int mainHandler(int CONN_fd){
if (handler == HANDLER_FLASH){
if(tag->data[0] != 0x12 ) {
if (tag->isKeyframe){
if (FlashBuf != ""){
Flash_FragBuffer.push(FlashBuf);
#if DEBUG >= 4
fprintf(stderr, "Received a fragment. Now %i in buffer.\n", (int)Flash_FragBuffer.size());
#endif
}
FlashBuf = "";
}
FlashBuf.append(tag->data,tag->len);