revert buffer size
This commit is contained in:
parent
d1e2ccdfec
commit
2dbe162e45
|
@ -49,7 +49,7 @@ namespace Emby.Common.Implementations.Net
|
||||||
|
|
||||||
private void InitReceiveSocketAsyncEventArgs()
|
private void InitReceiveSocketAsyncEventArgs()
|
||||||
{
|
{
|
||||||
var receiveBuffer = new byte[81920];
|
var receiveBuffer = new byte[8192];
|
||||||
_receiveSocketAsyncEventArgs.SetBuffer(receiveBuffer, 0, receiveBuffer.Length);
|
_receiveSocketAsyncEventArgs.SetBuffer(receiveBuffer, 0, receiveBuffer.Length);
|
||||||
_receiveSocketAsyncEventArgs.Completed += _receiveSocketAsyncEventArgs_Completed;
|
_receiveSocketAsyncEventArgs.Completed += _receiveSocketAsyncEventArgs_Completed;
|
||||||
|
|
||||||
|
|
|
@ -164,6 +164,10 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
if (string.Equals(container, "mts", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (string.Equals(container, "vob", StringComparison.OrdinalIgnoreCase))
|
if (string.Equals(container, "vob", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
@ -1709,6 +1713,13 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
return "-c:v h264_qsv ";
|
return "-c:v h264_qsv ";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
//case "hevc":
|
||||||
|
//case "h265":
|
||||||
|
// if (_mediaEncoder.SupportsDecoder("hevc_qsv"))
|
||||||
|
// {
|
||||||
|
// return "-c:v hevc_qsv ";
|
||||||
|
// }
|
||||||
|
// break;
|
||||||
case "mpeg2video":
|
case "mpeg2video":
|
||||||
if (_mediaEncoder.SupportsDecoder("mpeg2_qsv"))
|
if (_mediaEncoder.SupportsDecoder("mpeg2_qsv"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user