mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4445>
This commit is contained in:
parent
63a4d8bb54
commit
6a0965cb8a
1 changed files with 1 additions and 0 deletions
|
@ -1546,6 +1546,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;
|
||||
|
|
Loading…
Reference in a new issue