[svn-commits] branch oej/sdpcleanup r32279 - /team/oej/sdpcleanup/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jun 5 04:45:43 MST 2006


Author: oej
Date: Mon Jun  5 06:45:42 2006
New Revision: 32279

URL: http://svn.digium.com/view/asterisk?rev=32279&view=rev
Log:
Last update before lunch

Modified:
    team/oej/sdpcleanup/channels/chan_sip.c

Modified: team/oej/sdpcleanup/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/sdpcleanup/channels/chan_sip.c?rev=32279&r1=32278&r2=32279&view=diff
==============================================================================
--- team/oej/sdpcleanup/channels/chan_sip.c (original)
+++ team/oej/sdpcleanup/channels/chan_sip.c Mon Jun  5 06:45:42 2006
@@ -5157,7 +5157,7 @@
 		if (debug) 
 			ast_verbose("Video is at %s port %d\n", ast_inet_ntoa(iabuf, sizeof(iabuf), p->ourip), ntohs(vsin.sin_port));	
 		/* For video, we can't negotiate video offers. Let's compare the incoming call with what we got. */
-		videocapability = (capability & AST_FORMAT_AUDIO_MASK) & p->prefcodec;
+		videocapability = (capability & p->prefcodec) & AST_FORMAT_VIDEO_MASK;
 		
 		/*! \todo XXX We need to select one codec, not many, since there's no transcoding */
 		/* Now, merge this video capability into capability while removing unsupported codecs */



More information about the svn-commits mailing list