mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
FS-7501: add mutex to vid buf and fix regression from last regression fix
This commit is contained in:
1 parent
84ca513353
commit
dc7608fb9e
2 files changed
+14
-6
No files matched your search
@@ -4772,7 +4772,7 @@ static void *SWITCH_THREAD_FUNC video_helper_thread(switch_thread_t *thread, voi
|
||||
|
||||
vloops++;
|
||||
|
||||
if (!buf && switch_channel_test_flag(channel, CF_VIDEO_DECODED_READ)) {
|
||||
if (!buf) {
|
||||
int buflen = SWITCH_RECOMMENDED_BUFFER_SIZE * 4;
|
||||
buf = switch_core_session_alloc(session, buflen);
|
||||
fr.packet = buf;
|
||||
|
||||
Reference in new issue
Block a user