summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-11-02 16:26:11 +0000
committerjstebbins <[email protected]>2011-11-02 16:26:11 +0000
commitcb4d945ceb80b302b5c944b5b9dce37a77386add (patch)
treee245699c556e164756b70691deeb68824a95ce84 /libhb
parentba4240d6820b74749e64dec614dded8db4bf70fc (diff)
Disable DTS-HD LBR secondary audio tracks
DTS-HD LBR used in HD-DVD and bluray for secondary audio streams. Libav can not decode yet. Having it in the audio list causes long delays during scan while we try to get stream parameters. So skip this audio type for now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4336 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/stream.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 953983d9d..e79920d9b 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -92,7 +92,7 @@ static const stream2codec_t st2codec[256] = {
// BD E-AC3 Secondary audio
st(0xa1, U, 0, 0, "E-AC3"),
// BD DTS-HD Secondary audio
- st(0xa2, U, 0, 0, "DTS-HD MA"),
+ st(0xa2, U, 0, 0, "DTS-HD LBR"),
st(0xea, V, WORK_DECAVCODECV, CODEC_ID_VC1, "VC-1"),
};
@@ -4022,7 +4022,12 @@ static void hb_ts_resolve_pid_types(hb_stream_t *stream)
stream->pes.list[pes_idx].codec_param = CODEC_ID_EAC3;
continue;
}
- if ( ( stype == 0x85 || stype == 0xa2 ) &&
+ // 0xa2 is DTS-HD LBR used in HD-DVD and bluray for
+ // secondary audio streams. Libav can not decode yet.
+ // Having it in the audio list causes delays during scan
+ // while we try to get stream parameters. So skip
+ // this type for now.
+ if ( stype == 0x85 &&
stream->reg_desc == STR4_TO_UINT32("HDMV") )
{
// DTS-HD HRA audio in bluray has an stype of 0x85