Fixed broken DTS-HD_ma and DTS-HD_hra flags

This commit is contained in:
sualfred 2017-01-25 11:31:42 +01:00
parent e96524dac9
commit 50658294d7
1 changed files with 4 additions and 1 deletions

View File

@ -197,9 +197,12 @@ class API(object):
'language': stream.get('Language')
}
if "dca" in codec and "dts-hd ma" in profile:
if "dts-hd ma" in profile:
track['codec'] = "dtshd_ma"
if "dts-hd hra" in profile:
track['codec'] = "dtshd_hra"
audio_tracks.append(track)
def get_runtime(self):