mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 08:23:04 +00:00
update recording defaults
This commit is contained in:
@@ -154,6 +154,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
}
|
||||
};
|
||||
|
||||
_logger.Info("Running {0} {1}", path, arguments);
|
||||
|
||||
using (process)
|
||||
{
|
||||
process.Start();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user