mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
check ffmpeg stream for null
This commit is contained in:
parent
b4a756780e
commit
ff22828dd8
@ -244,7 +244,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
/// <param name="data">The data.</param>
|
/// <param name="data">The data.</param>
|
||||||
private void FetchWtvInfo(Video video, MediaInfoResult data)
|
private void FetchWtvInfo(Video video, MediaInfoResult data)
|
||||||
{
|
{
|
||||||
if (data.format.tags == null)
|
if (data.format == null || data.format.tags == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user