FS-9292 #resolve [Core dump playing videos or show images]
This commit is contained in:
parent
c4ebb8485a
commit
459a696eba
|
@ -5255,7 +5255,7 @@ static void *SWITCH_THREAD_FUNC video_write_thread(switch_thread_t *thread, void
|
||||||
switch_core_media_gen_key_frame(session);
|
switch_core_media_gen_key_frame(session);
|
||||||
|
|
||||||
|
|
||||||
if (mh->video_write_fh && smh->video_write_fh->mm.source_fps) {
|
if (smh->video_write_fh && smh->video_write_fh->mm.source_fps) {
|
||||||
fps = (int) smh->video_write_fh->mm.source_fps;
|
fps = (int) smh->video_write_fh->mm.source_fps;
|
||||||
} else {
|
} else {
|
||||||
fps = video_globals.fps;
|
fps = video_globals.fps;
|
||||||
|
|
Loading…
Reference in New Issue