mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	fix compiler errors
This commit is contained in:
		
							parent
							
								
									ee17176faf
								
							
						
					
					
						commit
						a3e75a1de3
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -449,7 +449,7 @@ gst_caps_from_format (SpaFormat *format)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else if (format->media_subtype == SPA_MEDIA_SUBTYPE_MJPG) {
 | 
					    else if (format->media_subtype == SPA_MEDIA_SUBTYPE_MJPG) {
 | 
				
			||||||
      res = gst_caps_new_simple ("image/jpeg",
 | 
					      res = gst_caps_new_simple ("image/jpeg",
 | 
				
			||||||
          "framerate", GST_TYPE_FRACTION, f.info.jpeg.framerate.num, f.info.jpeg.framerate.denom,
 | 
					          "framerate", GST_TYPE_FRACTION, f.info.mjpg.framerate.num, f.info.mjpg.framerate.denom,
 | 
				
			||||||
          NULL);
 | 
					          NULL);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  } else if (format->media_type == SPA_MEDIA_TYPE_AUDIO) {
 | 
					  } else if (format->media_type == SPA_MEDIA_TYPE_AUDIO) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -409,6 +409,8 @@ again:
 | 
				
			||||||
                              offsetof (V4l2Format, format));
 | 
					                              offsetof (V4l2Format, format));
 | 
				
			||||||
    fmt->format = info->format;
 | 
					    fmt->format = info->format;
 | 
				
			||||||
    pi = ++fmt->fmt.props.n_prop_info;
 | 
					    pi = ++fmt->fmt.props.n_prop_info;
 | 
				
			||||||
 | 
					  } else {
 | 
				
			||||||
 | 
					    fmt->format = info->format;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  spa_prop_info_fill_video (&fmt->infos[pi],
 | 
					  spa_prop_info_fill_video (&fmt->infos[pi],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue