mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-9863: [] video_width/video_height unset with playback application #resolve
This commit is contained in:
parent
aefba211ca
commit
fae3d9693d
@ -5899,10 +5899,8 @@ static void *SWITCH_THREAD_FUNC video_write_thread(switch_thread_t *thread, void
|
||||
switch_core_session_get_partner(session, &b_session);
|
||||
|
||||
switch_channel_set_flag(session->channel, CF_VIDEO_WRITING);
|
||||
switch_channel_set_flag(session->channel, CF_VIDEO_PAUSE_READ);
|
||||
|
||||
if (b_session) {
|
||||
switch_channel_set_flag(b_session->channel, CF_VIDEO_PAUSE_READ);
|
||||
switch_channel_set_flag(b_session->channel, CF_VIDEO_BLANK);
|
||||
}
|
||||
|
||||
@ -5960,12 +5958,10 @@ static void *SWITCH_THREAD_FUNC video_write_thread(switch_thread_t *thread, void
|
||||
switch_core_session_rwunlock(session);
|
||||
|
||||
if (b_session) {
|
||||
switch_channel_clear_flag(b_session->channel, CF_VIDEO_PAUSE_READ);
|
||||
switch_channel_clear_flag(b_session->channel, CF_VIDEO_BLANK);
|
||||
switch_core_session_rwunlock(b_session);
|
||||
}
|
||||
|
||||
switch_channel_clear_flag(session->channel, CF_VIDEO_PAUSE_READ);
|
||||
switch_channel_clear_flag(session->channel, CF_VIDEO_WRITING);
|
||||
smh->video_write_thread_running = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user