update subtitle conversion
This commit is contained in:
parent
a28feadfac
commit
7a74213914
|
@ -72,6 +72,12 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
|
|
||||||
private bool InternalTextStreamSupportsExternalStream(MediaStream stream)
|
private bool InternalTextStreamSupportsExternalStream(MediaStream stream)
|
||||||
{
|
{
|
||||||
|
// These usually have styles and fonts that won't convert to text very well
|
||||||
|
if (string.Equals(stream.Codec, "ass", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -463,7 +469,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
_liveStreamSemaphore.Release();
|
_liveStreamSemaphore.Release();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do not use a pipe here because Roku http requests to the server will fail, without any explicit error message.
|
// Do not use a pipe here because Roku http requests to the server will fail, without any explicit error message.
|
||||||
private const char LiveStreamIdDelimeter = '_';
|
private const char LiveStreamIdDelimeter = '_';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user