This commit is contained in:
lostb1t
2025-11-29 10:20:18 +01:00
parent 2168847a45
commit 172b054f48

View File

@@ -1264,6 +1264,7 @@ public class StreamInfo
// Check conditions for potentially using the direct path
if (stream.IsExternal // Must be external
&& stream.SupportsExternalStream
&& string.Equals(stream.Codec, subtitleProfile.Format, StringComparison.OrdinalIgnoreCase) // Format must match (no conversion needed)
&& !string.IsNullOrEmpty(stream.Path) // Path must exist
&& Uri.TryCreate(stream.Path, UriKind.Absolute, out Uri? uriResult) // Path must be an absolute URI