mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:30:05 +00:00 
			
		
		
		
	Merge pull request #223 from aware70/fix-audio-codec-setup
Fix warning about missing default codecs on first run
This commit is contained in:
		
						commit
						9dfbac6617
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -164,10 +164,9 @@ bool AudioCodecPage::IsRequired() | ||||||
|    auto         oggCodecs = |    auto         oggCodecs = | ||||||
|       oggFormat.supportedAudioCodecs(QMediaFormat::ConversionMode::Decode); |       oggFormat.supportedAudioCodecs(QMediaFormat::ConversionMode::Decode); | ||||||
| 
 | 
 | ||||||
|    // Setup is required if codec errors are not ignored, and the default codecs
 |    // Setup is required if codec errors are not ignored, and no Ogg support
 | ||||||
|    // are not supported
 |    // is found.
 | ||||||
|    return (!ignoreCodecErrors && |    return (!ignoreCodecErrors && oggCodecs.empty()); | ||||||
|            oggCodecs.contains(QMediaFormat::AudioCodec::Vorbis)); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| } // namespace setup
 | } // namespace setup
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat