mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
FS-8216 fix regression in hup_local_stream from last commit
This commit is contained in:
parent
f1c61f6f24
commit
7994b3dff3
@ -379,7 +379,10 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_open) {
|
if (!is_open) {
|
||||||
|
switch_buffer_zero(audio_buffer);
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
int svr = 0;
|
int svr = 0;
|
||||||
|
|
||||||
if (switch_core_has_video() && switch_core_file_has_video(use_fh)) {
|
if (switch_core_has_video() && switch_core_file_has_video(use_fh)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user