Change ast_translator_best_choice() to only pay attention to audio formats.
commit84c7f0b131c60e66bf31a6ea3f460b5a052eeed9
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 27 Dec 2007 14:33:21 +0000 (27 14:33 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 27 Dec 2007 14:33:21 +0000 (27 14:33 +0000)
tree2e3e602106cbb46ec2e8fb7cd62218161ba57d5b
parentc201904afa871e271e63162a924e55451b9d3458
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.

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@94828 614ede4d-c843-0410-af14-a771ab80d22e
main/translate.c