Skip to content

Commit 64139f7

Browse files
author
christophecvr
committed
Added downmix trough gstreamer for all boxes
All boxes who do have /proc/audio/ac3 entry and that field does contain downmix when downmix has been selected to on in e2, will now play dts downmixed by gstreamer. Note the plugin : gstreamer1.0-plugins-bad-dtsdec needs to be installed on stb : opkg install gstreamer1.0-plugins-bad-dtsdec modified: gstdvbaudiosink.c
1 parent 8dddeb3 commit 64139f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gstdvbaudiosink.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,10 @@ static GstCaps *gst_dvbaudiosink_get_caps(GstBaseSink *basesink, GstCaps *filter
439439
);
440440

441441
#if defined(HAVE_DTS) && !defined(HAVE_DTSDOWNMIX)
442+
if (!get_downmix_setting())
443+
{
442444
gst_caps_append(caps, gst_caps_from_string(DTSCAPS));
445+
}
443446
#endif
444447

445448
#ifdef HAVE_DTSDOWNMIX

0 commit comments

Comments
 (0)