]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8864 set video ready on first push to avoid catch 22 on some video files
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 29 Feb 2016 23:00:42 +0000 (17:00 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 29 Feb 2016 23:00:42 +0000 (17:00 -0600)
src/mod/applications/mod_av/avformat.c

index c00cf9c9edf4d52f58e6fcfc99f96fac85131456..deea2cbe6537a4820c6f699fe365f2be0a52e78d 100644 (file)
@@ -1393,6 +1393,7 @@ again:
                                                }
 #endif                 
 
+                                               context->vid_ready = 1;
                                                switch_queue_push(context->eh.video_queue, img);
                                                context->last_vid_push = switch_time_now();
                                        }