aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-31 21:23:06 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-31 21:23:06 +0000
commit920a53c8d4e3118666760c565a60fd0c5aaef1d7 (patch)
tree26dd556e4aa41cbcbe8fdf182221b2f1d90d892a /include
parent67104b928f4f1f62eaaede7514d7f2c144cbe298 (diff)
don't re-do setup operations for translators that can dynamically register themselves
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46711 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/translate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/translate.h b/include/asterisk/translate.h
index a03f54ef2..8f85e18d4 100644
--- a/include/asterisk/translate.h
+++ b/include/asterisk/translate.h
@@ -108,6 +108,7 @@ struct ast_translator {
struct ast_module *module; /* opaque reference to the parent module */
int cost; /*!< Cost in milliseconds for encoding/decoding 1 second of sound */
+ int seen; /*!< If we have seen this translator before (optimize re-registration) */
AST_LIST_ENTRY(ast_translator) list; /*!< link field */
};