[vlc-commits] sout: sdi: fix channels to pairs setup

Francois Cartegnie git at videolan.org
Tue Oct 9 16:34:36 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Oct  9 16:28:23 2018 +0200| [f0f4122c11378634475364d4a229c8f03563e715] | committer: Francois Cartegnie

sout: sdi: fix channels to pairs setup

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0f4122c11378634475364d4a229c8f03563e715
---

 modules/stream_out/sdi/SDIAudioMultiplex.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/sdi/SDIAudioMultiplex.cpp b/modules/stream_out/sdi/SDIAudioMultiplex.cpp
index f6f8542fb5..a156cf735f 100644
--- a/modules/stream_out/sdi/SDIAudioMultiplex.cpp
+++ b/modules/stream_out/sdi/SDIAudioMultiplex.cpp
@@ -95,7 +95,7 @@ SDIAudioMultiplexConfig::SDIAudioMultiplexConfig(vlc_object_t *obj, uint8_t chan
 {
     this->obj = obj;
     subframeslotbitmap = 0;
-    if(channels > 4)
+    if(channels > 8)
         framewidth = 8;
     else if(channels > 2)
         framewidth = 4;



More information about the vlc-commits mailing list