Added SampleRate metadata parsing

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-08-25 11:03:16 -04:00
parent 0ff432ea4e
commit bbbe6164dc
1 changed files with 4 additions and 0 deletions

View File

@ -355,6 +355,10 @@ namespace MediaBrowser.Controller.Xml
stream.IsDefault = reader.ReadElementContentAsString() == "True";
break;
case "SamplingRate":
stream.SampleRate = reader.ReadIntSafe();
break;
case "BitRate":
stream.BitRate = reader.ReadIntSafe();
break;