Build fix: updated to better support new video changes

This commit is contained in:
William King 2015-04-22 16:06:43 -07:00 committed by Michael Jerris
parent 7eebd8e7e8
commit 5a94bfefd3
1 changed files with 3 additions and 8 deletions

View File

@ -188,14 +188,6 @@ static switch_bool_t avmd_callback(switch_media_bug_t * bug, void *user_data, sw
/* avmd_session->vmd_codec.channels = read_codec->implementation->number_of_channels; */
break;
case SWITCH_ABC_TYPE_READ_PING:
case SWITCH_ABC_TYPE_CLOSE:
case SWITCH_ABC_TYPE_READ:
case SWITCH_ABC_TYPE_WRITE:
case SWITCH_ABC_TYPE_TAP_NATIVE_READ:
case SWITCH_ABC_TYPE_TAP_NATIVE_WRITE:
break;
case SWITCH_ABC_TYPE_READ_REPLACE:
frame = switch_core_media_bug_get_read_replace_frame(bug);
avmd_process(avmd_session, frame);
@ -203,6 +195,9 @@ static switch_bool_t avmd_callback(switch_media_bug_t * bug, void *user_data, sw
case SWITCH_ABC_TYPE_WRITE_REPLACE:
break;
default:
break;
}
return SWITCH_TRUE;