mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	switched aac encoders
This commit is contained in:
		
							parent
							
								
									0320f15e96
								
							
						
					
					
						commit
						ccdd51b3d8
					
				@ -484,7 +484,7 @@ namespace MediaBrowser.Api.Playback
 | 
				
			|||||||
            {
 | 
					            {
 | 
				
			||||||
                if (codec == AudioCodecs.Aac)
 | 
					                if (codec == AudioCodecs.Aac)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    return "aac";
 | 
					                    return "libvo_aacenc";
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                if (codec == AudioCodecs.Mp3)
 | 
					                if (codec == AudioCodecs.Mp3)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
 | 
				
			|||||||
@ -129,11 +129,6 @@ namespace MediaBrowser.Api.Playback.Hls
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            if (state.AudioStream != null)
 | 
					            if (state.AudioStream != null)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                if (string.Equals(codec, "aac", StringComparison.OrdinalIgnoreCase))
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    args += " -strict experimental";
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
                
 | 
					 | 
				
			||||||
                var channels = GetNumAudioChannelsParam(state.Request, state.AudioStream);
 | 
					                var channels = GetNumAudioChannelsParam(state.Request, state.AudioStream);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if (channels.HasValue)
 | 
					                if (channels.HasValue)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user