From 5a0d9514db11360184db9bb6578cd12f9509d8db Mon Sep 17 00:00:00 2001 From: Seven Du Date: Sun, 15 Jul 2012 18:48:51 +0800 Subject: [PATCH] set marker and ts, some endpoints depending on the marker bit to render correct video --- src/mod/applications/mod_fsv/mod_fsv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_fsv/mod_fsv.c b/src/mod/applications/mod_fsv/mod_fsv.c index 5c52a352df..7a798ca1fa 100644 --- a/src/mod/applications/mod_fsv/mod_fsv.c +++ b/src/mod/applications/mod_fsv/mod_fsv.c @@ -411,6 +411,8 @@ SWITCH_STANDARD_APP(play_fsv_function) if (switch_channel_test_flag(channel, CF_VIDEO)) { switch_byte_t *data = (switch_byte_t *) vid_frame.packet; + vid_frame.m = hdr->m; + vid_frame.timestamp = ts; vid_frame.data = data + 12; vid_frame.datalen = vid_frame.packetlen - 12; switch_core_session_write_video_frame(session, &vid_frame, SWITCH_IO_FLAG_NONE, 0);