mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Streams with CodecType "data" (like "epg" streams in DVB recordings) get ignored. This results in wrong stream specifiers for all subsequential streams. This fix correctly handles "data" streams without any further processing.
This commit is contained in:
parent
632fb05f46
commit
64753cfc7f
2 changed files with 11 additions and 1 deletions
|
@ -863,8 +863,13 @@ namespace MediaBrowser.MediaEncoding.Probing
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (string.Equals(streamInfo.CodecType, "data", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
stream.Type = MediaStreamType.Data;
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.LogError("Codec Type unknown. The stream will be ignored. Warning: Subsequential streams will have a wrong stream specifier!");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,11 @@ namespace MediaBrowser.Model.Entities
|
|||
/// <summary>
|
||||
/// The embedded image.
|
||||
/// </summary>
|
||||
EmbeddedImage
|
||||
EmbeddedImage,
|
||||
|
||||
/// <summary>
|
||||
/// The data.
|
||||
/// </summary>
|
||||
Data
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue