Skip to content

The Free Software Media System - Server Backend & API

Merge branch 'master' into h265

Joshua M. Bonifaced95c04787cc4
diff --cc CONTRIBUTORS.md
index 16eea11634,c96228f31d..c95133dfd1
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@@ -23,8 -23,11 +23,12 @@@
- [fruhnow](https://github.com/fruhnow)
- [Lynxy](https://github.com/Lynxy)
- [fasheng](https://github.com/fasheng)
- - [ploughpuff](https://github.com/ploughpuff)
+ - [ploughpuff](https://github.com/ploughpuff)
+ - [pjeanjean](https://github.com/pjeanjean)
+ - [DrPandemic](https://github.com/drpandemic)
+ - [joern-h](https://github.com/joern-h)
+ - [Khinenw](https://github.com/HelloWorld017)
+ - [fhriley](https://github.com/fhriley)
# Emby Contributors
diff --cc MediaBrowser.Api/Playback/BaseStreamingService.cs
index 4865f30880,1f78f5afc3..1054badd95
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@@ -144,20 -148,13 +148,18 @@@ namespace MediaBrowser.Api.Playbac
if (EnableOutputInSubFolder)
{
- return Path.Combine(folder, dataHash, dataHash + (outputFileExtension ?? string.Empty).ToLowerInvariant());
+ return Path.Combine(folder, filename, filename + ext);
}
- return Path.Combine(folder, dataHash + (outputFileExtension ?? string.Empty).ToLowerInvariant());
+ return Path.Combine(folder, filename + ext);
}
- protected virtual bool EnableOutputInSubFolder => false;
-
- protected virtual string GetDefaultH264Preset() => "superfast";
+ protected readonly CultureInfo UsCulture = new CultureInfo("en-US");
+
+ protected virtual string GetDefaultEncoderPreset()
+ {
+ return "superfast";
+ }
private async Task AcquireResources(StreamState state, CancellationTokenSource cancellationTokenSource)
{