mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	modules: fix compilation
This commit is contained in:
		
							parent
							
								
									e3ffcbefb6
								
							
						
					
					
						commit
						a76d262db6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -465,7 +465,7 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core,
 | 
				
			||||||
		if (!framecount) {
 | 
							if (!framecount) {
 | 
				
			||||||
			impl->psamples = msec_to_samples(impl, ptime);
 | 
								impl->psamples = msec_to_samples(impl, ptime);
 | 
				
			||||||
			pw_properties_setf(props, "rtp.framecount", "%u", impl->psamples);
 | 
								pw_properties_setf(props, "rtp.framecount", "%u", impl->psamples);
 | 
				
			||||||
		} else if (!ptime) {
 | 
							} else if (ptime == 0.0f) {
 | 
				
			||||||
			impl->psamples = framecount;
 | 
								impl->psamples = framecount;
 | 
				
			||||||
			pw_properties_set(props, "rtp.ptime",
 | 
								pw_properties_set(props, "rtp.ptime",
 | 
				
			||||||
					spa_dtoa(tmp, sizeof(tmp),
 | 
										spa_dtoa(tmp, sizeof(tmp),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue