mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
FS-7696 #resolve
This commit is contained in:
parent
f44af63d79
commit
f953514b41
@ -372,6 +372,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
|||||||
if (source->total) {
|
if (source->total) {
|
||||||
switch_queue_push(source->video_q, vid_frame.img);
|
switch_queue_push(source->video_q, vid_frame.img);
|
||||||
} else {
|
} else {
|
||||||
|
switch_img_free(&vid_frame.img);
|
||||||
flush_video_queue(source->video_q);
|
flush_video_queue(source->video_q);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user