mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@313822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -2311,7 +2311,9 @@ static struct ast_frame *ast_rtp_read(struct ast_rtp_instance *instance, int rtc | ||||
| 		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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user