summaryrefslogtreecommitdiff
path: root/include/asterisk/translate.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-12-27 14:52:07 +0000
committerRussell Bryant <russell@russellbryant.com>2007-12-27 14:52:07 +0000
commit75e602376b7ae4a838273c81735b7fa64fe06d70 (patch)
tree6f7932bd4b41d719713ed1873ce50a77878ac79e /include/asterisk/translate.h
parent3acad631f8f9576579dca069547b890c1a2f980b (diff)
Merged revisions 94828-94829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r94828 | russell | 2007-12-27 08:33:21 -0600 (Thu, 27 Dec 2007) | 9 lines Change ast_translator_best_choice() to only pay attention to audio formats. This fixes a problem where Asterisk claims that a translation path can not be found for channels involving video. (closes issue #11638) Reported by: cwhuang Tested by: cwhuang Patch suggested by cwhuang, with some additional changes by me. ........ r94829 | russell | 2007-12-27 08:44:29 -0600 (Thu, 27 Dec 2007) | 2 lines Use the constant that I really meant to use here ... ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/translate.h')
-rw-r--r--include/asterisk/translate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/translate.h b/include/asterisk/translate.h
index 2db3019c1..48b5bf091 100644
--- a/include/asterisk/translate.h
+++ b/include/asterisk/translate.h
@@ -24,7 +24,7 @@
#ifndef _ASTERISK_TRANSLATE_H
#define _ASTERISK_TRANSLATE_H
-//#define MAX_FORMAT 15 /* Do not include video here */
+#define MAX_AUDIO_FORMAT 15 /* Do not include video here */
#define MAX_FORMAT 32 /* Do include video here */
#if defined(__cplusplus) || defined(c_plusplus)