fix video probing

This commit is contained in:
Luke Pulverenti
2015-04-07 13:51:14 -04:00
parent 3e9efeb44f
commit 84ec2aab95
5 changed files with 19 additions and 6 deletions

View File

@@ -63,6 +63,11 @@ namespace MediaBrowser.MediaEncoding.Probing
}
else
{
if (data.format != null && !string.IsNullOrEmpty(data.format.duration))
{
info.RunTimeTicks = TimeSpan.FromSeconds(double.Parse(data.format.duration, _usCulture)).Ticks;
}
FetchWtvInfo(info, data);
if (data.Chapters != null)