[asterisk-commits] twilson: trunk r313822 - /trunk/res/res_rtp_asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 14 16:53:03 CDT 2011
Author: twilson
Date: Thu Apr 14 16:53:01 2011
New Revision: 313822
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313822
Log:
Sets video mark bit on format field correctly
This fixes a regression in the media architecture change
where video frames did not have their video mark set
correctly. dvossel wrote this. twilson kindly committed
this, mmichelson found the bug.
Modified:
trunk/res/res_rtp_asterisk.c
Modified: trunk/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_rtp_asterisk.c?view=diff&rev=313822&r1=313821&r2=313822
==============================================================================
--- trunk/res/res_rtp_asterisk.c (original)
+++ trunk/res/res_rtp_asterisk.c Thu Apr 14 16:53:01 2011
@@ -2311,7 +2311,9 @@
rtp->f.delivery.tv_sec = 0;
rtp->f.delivery.tv_usec = 0;
/* Pass the RTP marker bit as bit */
- ast_format_set_video_mark(&rtp->f.subclass.format);
+ if (mark) {
+ ast_format_set_video_mark(&rtp->f.subclass.format);
+ }
} else {
/* TEXT -- samples is # of samples vs. 1000 */
if (!rtp->lastitexttimestamp)
More information about the asterisk-commits
mailing list