update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10862 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c2b1ce53bc
commit
1ad27943ad
|
@ -598,7 +598,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
|
|||
|
||||
if (switch_test_flag(frame, SFF_PROXY_PACKET) || pass_cng) {
|
||||
/* Fast PASS! */
|
||||
return perform_write(session, frame, flag, stream_id);
|
||||
switch_mutex_lock(session->codec_write_mutex);
|
||||
status = perform_write(session, frame, flag, stream_id);
|
||||
switch_mutex_unlock(session->codec_write_mutex);
|
||||
return status;
|
||||
}
|
||||
|
||||
switch_assert(frame->codec != NULL);
|
||||
|
|
Loading…
Reference in New Issue