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

View file

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