FS-7514: make vlc endpoint works with originate in addition to bridge

This commit is contained in:
Seven Du
2015-02-03 23:02:11 +08:00
committed by Michael Jerris
parent 7400d73c93
commit 93ee6158ff
2 changed files with 13 additions and 13 deletions

View File

@@ -9985,7 +9985,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core
}
}
if (switch_channel_test_flag(session->channel, CF_VIDEO_DECODED_READ)) {
if (switch_channel_test_flag(session->channel, CF_VIDEO_DECODED_READ) && (*frame)->img == NULL) {
switch_status_t decode_status;
(*frame)->img = NULL;