This commit is contained in:
Luke Pulverenti 2013-04-05 01:03:50 -04:00
parent 2a90cf6971
commit 60e0f4d955
2 changed files with 9 additions and 1 deletions

View File

@ -214,6 +214,10 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
{
stream.Type = MediaStreamType.Subtitle;
}
else if (streamInfo.codec_type.Equals("data", StringComparison.OrdinalIgnoreCase))
{
stream.Type = MediaStreamType.Data;
}
else
{
stream.Type = MediaStreamType.Video;

View File

@ -158,6 +158,10 @@ namespace MediaBrowser.Model.Entities
/// <summary>
/// The subtitle
/// </summary>
Subtitle
Subtitle,
/// <summary>
/// The data
/// </summary>
Data
}
}