提交 98bfaf76 authored 作者: Brian West's avatar Brian West

Lets not break video passthru codecs sorry

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7682 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a8023642
......@@ -353,7 +353,7 @@ static inline void switch_core_codec_add_implementation(switch_memory_pool_t *po
/*! deinitalize a codec handle using this implementation */
switch_core_codec_destroy_func_t destroy)
{
if (SWITCH_ACCEPTABLE_INTERVAL(microseconds_per_frame / 1000)) {
if (codec_type == SWITCH_CODEC_TYPE_VIDEO || SWITCH_ACCEPTABLE_INTERVAL(microseconds_per_frame / 1000)) {
switch_codec_implementation_t *impl = (switch_codec_implementation_t *) switch_core_alloc(pool, sizeof(*impl));
impl->codec_type = codec_type;
impl->ianacode = ianacode;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论