FS-7514: keep pointer pointed

This commit is contained in:
Anthony Minessale 2015-01-05 13:27:21 -06:00 committed by Michael Jerris
parent b63683ade0
commit 79ffc95928
1 changed files with 2 additions and 0 deletions

View File

@ -274,6 +274,8 @@ static void vlc_video_display_callback(void *data, void *id)
context->img = NULL;
} else {
context->vid_frame->img = context->img;
context->vid_frame->packet = context->video_packet;
context->vid_frame->data = context->video_packet + 12;
switch_core_session_write_video_frame(context->session, context->vid_frame, SWITCH_IO_FLAG_NONE, 0);
}