missed a spot on last conf commit

This commit is contained in:
Anthony Minessale
2013-09-06 02:45:10 +05:00
parent 21f1743b30
commit 6100e1f0d6
2 changed files with 7 additions and 1 deletions

View File

@@ -79,6 +79,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core
}
}
if (status == SWITCH_STATUS_INUSE) {
*frame = &runtime.dummy_cng_frame;
switch_yield(20000);
return SWITCH_STATUS_SUCCESS;
}
if (status != SWITCH_STATUS_SUCCESS) {
goto done;
}