mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FS-7500: SQUASH ME WITH THE LAST ONE
This commit is contained in:
committed by
Michael Jerris
parent
b8ba1a1469
commit
c874fe05d8
@@ -724,6 +724,7 @@ static void decode_video_thread(switch_core_session_t *session, void *obj)
|
||||
|
||||
switch_channel_set_flag(channel, CF_VIDEO_DECODED_READ);
|
||||
switch_channel_set_flag(channel, CF_VIDEO_DEBUG_READ);
|
||||
switch_channel_set_flag(channel, CF_VIDEO_DEBUG_WRITE);
|
||||
|
||||
while (switch_channel_ready(channel)) {
|
||||
switch_status_t status = switch_core_session_read_video_frame(session, &frame, SWITCH_IO_FLAG_NONE, 0);
|
||||
|
||||
@@ -567,8 +567,6 @@ static switch_status_t switch_vpx_decode(switch_codec_t *codec, switch_frame_t *
|
||||
switch_goto_status(SWITCH_STATUS_NOTFOUND, end);
|
||||
}
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "IMAGE %dx%d %dx%d\n", frame->img->w,frame->img->h, frame->img->d_w, frame->img->d_h);
|
||||
|
||||
switch_buffer_zero(context->vpx_packet_buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user