Merge pull request #79 from sualfred/develop

Fixed broken DTS-HD_ma and DTS-HD_hra flags
This commit is contained in:
Shaun 2017-01-25 23:14:29 +11:00 committed by GitHub
commit fe5418e0a6

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):