[Freeswitch-svn] [commit] r7682 - freeswitch/trunk/src/include
Freeswitch SVN
brian at freeswitch.org
Mon Feb 18 16:55:29 EST 2008
Author: brian
Date: Mon Feb 18 16:55:28 2008
New Revision: 7682
Modified:
freeswitch/trunk/src/include/switch_loadable_module.h
Log:
Lets not break video passthru codecs sorry
Modified: freeswitch/trunk/src/include/switch_loadable_module.h
==============================================================================
--- freeswitch/trunk/src/include/switch_loadable_module.h (original)
+++ freeswitch/trunk/src/include/switch_loadable_module.h Mon Feb 18 16:55:28 2008
@@ -353,7 +353,7 @@
/*! 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;
More information about the Freeswitch-svn
mailing list