summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/stream.c')
-rw-r--r--libhb/stream.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index adc42b622..517e29ee4 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -3308,6 +3308,12 @@ static void add_ffmpeg_audio( hb_title_t *title, hb_stream_t *stream, int id )
AVDictionaryEntry *tag;
int layout;
+ // DTS: work around lack of 6.1 support in libhb
+ if( hb_ff_dts_request_5point1( codec ) )
+ {
+ hb_deep_log( 2, "add_ffmpeg_audio: found DTS-ES 6.1, requesting 5.1 core" );
+ }
+
// scan will ignore any audio without a bitrate. Since we've already
// typed the audio in order to determine its codec we set up the audio
// paramters here.