[asterisk-commits] dvossel: branch dvossel/fixtheworld_phase1_step3 r302166 - /team/dvossel/fixt...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 17 18:27:45 CST 2011


Author: dvossel
Date: Mon Jan 17 18:27:41 2011
New Revision: 302166

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=302166
Log:
open up video to preference lists

Modified:
    team/dvossel/fixtheworld_phase1_step3/main/frame.c

Modified: team/dvossel/fixtheworld_phase1_step3/main/frame.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step3/main/frame.c?view=diff&rev=302166&r1=302165&r2=302166
==============================================================================
--- team/dvossel/fixtheworld_phase1_step3/main/frame.c (original)
+++ team/dvossel/fixtheworld_phase1_step3/main/frame.c Mon Jan 17 18:27:41 2011
@@ -1028,10 +1028,7 @@
 			}
 		}
 
-		/* Set up a preference list for audio. Do not include video in preferences 
-		   since we can not transcode video and have to use whatever is offered
-		 */
-		if (pref && (AST_FORMAT_GET_TYPE(format.id) == AST_FORMAT_TYPE_AUDIO)) {
+		if (pref) {
 			if (!all) {
 				if (allowing) {
 					ast_codec_pref_append(pref, &format);




More information about the asterisk-commits mailing list