From a74bf2a45eaabf4e1e01ed1888dcbe6150b6c8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 18 Apr 2023 14:55:23 +0300 Subject: tsdemux: Set number of channels to 2 for dual mono Opus Instead of leaving it at 0, which will then cause caps creation to fail. Part-of: --- subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.1