mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
bca7917503
commit
2ed601f934
35 files changed
+104
-76
No files matched your search
@@ -1195,7 +1195,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
|
||||
if (conference->video_running == 1) {
|
||||
conference->video_running = -1;
|
||||
while (conference->video_running) {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2010,7 +2010,7 @@ static void conference_loop_output(conference_member_t *member)
|
||||
if (use_timer) {
|
||||
switch_core_timer_next(&timer);
|
||||
} else {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
|
||||
} /* Rinse ... Repeat */
|
||||
@@ -2032,7 +2032,7 @@ static void conference_loop_output(conference_member_t *member)
|
||||
|
||||
/* Wait for the input thread to end */
|
||||
while (switch_test_flag(member, MFLAG_ITHREAD)) {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -203,7 +203,7 @@ SWITCH_STANDARD_APP(record_fsv_function)
|
||||
|
||||
if (eh.up) {
|
||||
while (eh.up) {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -320,7 +320,7 @@ SWITCH_STANDARD_APP(play_fsv_function)
|
||||
switch_core_session_write_video_frame(session, &vid_frame, SWITCH_IO_FLAG_NONE, 0);
|
||||
}
|
||||
if (ts && last && last != ts) {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
last = ts;
|
||||
} else {
|
||||
|
||||
@@ -64,7 +64,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_skel_runtime)
|
||||
{
|
||||
while(looping)
|
||||
{
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
return SWITCH_STATUS_TERM;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user