mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
update recording defaults
This commit is contained in:
parent
401dc39e4c
commit
55f47d2120
16 changed files with 139 additions and 24 deletions
|
|
@ -610,6 +610,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
{
|
||||
if (video.Protocol != MediaProtocol.File)
|
||||
{
|
||||
// If it's mpeg based, assume true
|
||||
if ((videoStream.Codec ?? string.Empty).IndexOf("mpeg", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue