Author: rizzo
Date: Thu Jul 26 00:35:42 2007
New Revision: 77248

URL: http://svn.digium.com/view/asterisk?view=rev&rev=77248
Log:
document how the RTP marker bit is passed for video frames,
and why this does not overwrite useful information.


Modified:
    trunk/main/rtp.c

Modified: trunk/main/rtp.c
URL: 
http://svn.digium.com/view/asterisk/trunk/main/rtp.c?view=diff&rev=77248&r1=77247&r2=77248
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Thu Jul 26 00:35:42 2007
@@ -1598,6 +1598,11 @@
                rtp->lastividtimestamp = timestamp;
                rtp->f.delivery.tv_sec = 0;
                rtp->f.delivery.tv_usec = 0;
+               /* Pass the RTP marker bit as bit 0 in the subclass field.
+                * This is ok because subclass is actually a bitmask, and
+                * the low bits represent audio formats, that are not
+                * involved here since we deal with video.
+                */
                if (mark)
                        rtp->f.subclass |= 0x1;
        } else {


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to