mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
FS-8909 FS-8914
This commit is contained in:
1 parent
c90bed79f3
commit
bf30ad3194
2 files changed
+30
-25
No files matched your search
@@ -593,10 +593,6 @@ static void *SWITCH_THREAD_FUNC video_thread_run(switch_thread_t *thread, void *
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "video thread start\n");
|
||||
|
||||
if (eh->mm->fps) {
|
||||
hard_delta = 1000 / eh->mm->fps;
|
||||
}
|
||||
|
||||
for(;;) {
|
||||
AVPacket pkt = { 0 };
|
||||
int got_packet;
|
||||
@@ -604,6 +600,10 @@ static void *SWITCH_THREAD_FUNC video_thread_run(switch_thread_t *thread, void *
|
||||
|
||||
top:
|
||||
|
||||
if (eh->mm->fps) {
|
||||
hard_delta = 1000 / eh->mm->fps;
|
||||
}
|
||||
|
||||
if (switch_queue_pop(eh->video_queue, &pop) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_img_free(&img);
|
||||
|
||||
|
||||
Reference in new issue
Block a user