Ticket #7409: mythtv_dts_skip_dts_hd.diff
File mythtv_dts_skip_dts_hd.diff, 812 bytes (added by , 15 years ago) |
---|
-
libs/libmythtv/avformatdecoder.cpp
4368 4368 if (dts) 4369 4369 { 4370 4370 enc_len = dts_syncinfo(data, &flags, &sample_rate, &bit_rate); 4371 if (enc_len < 0) 4372 return enc_len; 4371 4373 int rate, sfreq, nblks; 4372 4374 dts_decode_header(data, &rate, &nblks, &sfreq); 4373 4375 nr_samples = nblks * 32; … … 4484 4486 (indata_ptr[2] << 8) | (indata_ptr[3])); 4485 4487 4486 4488 if (id != 0x7ffe8001) 4489 { 4490 if (id == 0x64582025) 4491 VERBOSE(VB_IMPORTANT, LOC + QString("Skipping DTS HD extension")); 4492 4487 4493 return -1; 4494 } 4488 4495 4489 4496 int ftype = indata_ptr[4] >> 7; 4490 4497