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…
Reference in New Issue
Block a user