Pass only useful FLV metadata from RTMP stream
Originally committed as revision 20573 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									ec10d2d539
								
							
						
					
					
						commit
						afbacb931b
					
				@ -511,7 +511,7 @@ static int get_packet(URLContext *s, int for_header)
 | 
				
			|||||||
            continue;
 | 
					            continue;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (rpkt.type == RTMP_PT_VIDEO || rpkt.type == RTMP_PT_AUDIO ||
 | 
					        if (rpkt.type == RTMP_PT_VIDEO || rpkt.type == RTMP_PT_AUDIO ||
 | 
				
			||||||
            rpkt.type == RTMP_PT_NOTIFY) {
 | 
					           (rpkt.type == RTMP_PT_NOTIFY && !memcmp("\002\000\012onMetaData", rpkt.data, 13))) {
 | 
				
			||||||
            uint8_t *p;
 | 
					            uint8_t *p;
 | 
				
			||||||
            uint32_t ts = rpkt.timestamp;
 | 
					            uint32_t ts = rpkt.timestamp;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user