mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-10 15:50:35 +02:00
Use case insensitive contains (3)
Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
802a66a9e6
commit
d0febd6c37
|
@ -1619,7 +1619,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
For software decoding and hardware encoding option, frames must be hwuploaded into hardware
|
||||
with fixed frame size.
|
||||
*/
|
||||
if (!string.IsNullOrEmpty(videoDecoder) && videoDecoder.Contains("qsv"))
|
||||
if (!string.IsNullOrEmpty(videoDecoder) && videoDecoder.Contains("qsv", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
retStr = " -filter_complex \"[{0}:{1}]{4}[sub];[0:{2}][sub]overlay_qsv=x=(W-w)/2:y=(H-h)/2{3}\"";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue