mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
						commit
						930ce927b0
					
				@ -173,7 +173,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.TV
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            logger.Debug("{0} is not a series folder.", path);
 | 
					            //logger.Debug("{0} is not a series folder.", path);
 | 
				
			||||||
            return false;
 | 
					            return false;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -56,7 +56,7 @@ namespace MediaBrowser.Controller.MediaEncoding
 | 
				
			|||||||
                {
 | 
					                {
 | 
				
			||||||
                    return GetAvailableEncoder("h264_nvenc", defaultEncoder);
 | 
					                    return GetAvailableEncoder("h264_nvenc", defaultEncoder);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                if (string.Equals(hwType, "h264_omx", StringComparison.OrdinalIgnoreCase))
 | 
					                if (string.Equals(hwType, "omx", StringComparison.OrdinalIgnoreCase))
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    return GetAvailableEncoder("h264_omx", defaultEncoder);
 | 
					                    return GetAvailableEncoder("h264_omx", defaultEncoder);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
@ -1896,6 +1896,20 @@ namespace MediaBrowser.Controller.MediaEncoding
 | 
				
			|||||||
                            break;
 | 
					                            break;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                else if (string.Equals(encodingOptions.HardwareAccelerationType, "omx", StringComparison.OrdinalIgnoreCase))
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    switch (videoStream.Codec.ToLower())
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        case "avc":
 | 
				
			||||||
 | 
					                        case "h264":
 | 
				
			||||||
 | 
					                            if (_mediaEncoder.SupportsDecoder("h264_omx") && encodingOptions.HardwareDecodingCodecs.Contains("h264", StringComparer.OrdinalIgnoreCase))
 | 
				
			||||||
 | 
					                            {
 | 
				
			||||||
 | 
					                                return "-c:v h264_omx ";
 | 
				
			||||||
 | 
					                            }
 | 
				
			||||||
 | 
					                            break;
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // leave blank so ffmpeg will decide
 | 
					            // leave blank so ffmpeg will decide
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,3 @@
 | 
				
			|||||||
using System.Reflection;
 | 
					using System.Reflection;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[assembly: AssemblyVersion("3.2.30.21")]
 | 
					[assembly: AssemblyVersion("3.2.30.22")]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user