From: <sb...@us...> - 2007-07-10 21:12:38
|
Revision: 1059 http://svn.sourceforge.net/iaxclient/?rev=1059&view=rev Author: sbalea Date: 2007-07-10 14:12:33 -0700 (Tue, 10 Jul 2007) Log Message: ----------- Code formatting Modified Paths: -------------- trunk/lib/libiax2/src/iax.c Modified: trunk/lib/libiax2/src/iax.c =================================================================== --- trunk/lib/libiax2/src/iax.c 2007-07-10 21:07:09 UTC (rev 1058) +++ trunk/lib/libiax2/src/iax.c 2007-07-10 21:12:33 UTC (rev 1059) @@ -1063,22 +1063,22 @@ /* Bitmask taken from chan_iax2.c... I must ask Mark Spencer for this? I think not... */ if ( f->frametype == AST_FRAME_VIDEO ) { - if (((fts & 0xFFFF8000L) == (lastsent & 0xFFFF8000L)) - /* High two bits are the same on timestamp, or sending on a trunk */ && - ((f->subclass & ~0x01) == pvt->svideoformat) - /* is the same type */ ) - { - /* Force immediate rather than delayed transmission */ - now = 1; - /* Mark that mini-style frame is appropriate */ - sendmini = 1; + if (((fts & 0xFFFF8000L) == (lastsent & 0xFFFF8000L)) + /* High two bits are the same on timestamp, or sending on a trunk */ && + ((f->subclass & ~0x01) == pvt->svideoformat) + /* is the same type */ ) + { + /* Force immediate rather than delayed transmission */ + now = 1; + /* Mark that mini-style frame is appropriate */ + sendmini = 1; } else { /* we want to send a fullframe and be able to retransmit it */ - now = 0; - sendmini = 0; + now = 0; + sendmini = 0; + } } - } /* if requested, force a full frame */ if ( fullframe ) @@ -1186,7 +1186,6 @@ fr->datalen = fr->af.datalen + sizeof(struct ast_iax2_video_hdr); fr->data = vh; fr->retries = -1; - //fprintf(stderr,"VVVVVVVVV Invio in MINI VIDEO FRAME\n"); res = iax_xmit_frame(fr); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |