Ensure only DTS-HD MA is picked up
Using 'codec_name' would otherwise select anything with DTS, regardless if lossless or lossy
This commit is contained in:
parent
45da0baf90
commit
9c60d80bbd
@ -291,7 +291,7 @@ const response = {
|
||||
}
|
||||
|
||||
// Identify if stream is DTS-HD MA
|
||||
if (file.ffProbeData.streams[i].codec_name.toLowerCase() === 'dts') {
|
||||
if (file.ffProbeData.streams[i].profile.toLowerCase() === 'dts-hd ma') {
|
||||
|
||||
// Check if DTS-HD MA has already been handled by a previous run
|
||||
// Assume that it will be the second stream (first audio stream) - it should be, if already handled
|
||||
|
Loading…
x
Reference in New Issue
Block a user