summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c b/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c
index 6174850c57..e125381861 100644
--- a/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c
+++ b/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c
@@ -1545,6 +1545,7 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
channels = channel_config_code ? (channel_config_code & 0x0f) : 2;
if (channel_config_code == 0 || channel_config_code == 0x80) {
/* Dual Mono */
+ channels = 2;
mapping_family = 255;
if (channel_config_code == 0) {
stream_count = 1;