[vlc-commits] [Git][videolan/vlc][master] test: es_out: fix channel mask not matching the channel count

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Nov 27 12:31:43 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9e97fe30 by Steve Lhomme at 2026-11-27T12:09:51+00:00
test: es_out: fix channel mask not matching the channel count

- - - - -


1 changed file:

- src/input/test/es_out.c


Changes:

=====================================
src/input/test/es_out.c
=====================================
@@ -437,7 +437,7 @@ static es_out_id_t *AddAudioTrack(struct vlc_input_es_out *out)
     fmt.i_id = 2;
     fmt.audio.i_format = VLC_CODEC_F32L;
     fmt.audio.i_rate = 44100;
-    fmt.audio.i_physical_channels = 2;
+    fmt.audio.i_physical_channels = AOUT_CHANS_STEREO;
     fmt.audio.i_channels = 2;
     es_out_id_t *track = es_out_Add(&out->out, &fmt);
     assert(track != NULL);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9e97fe30a0c2be6d0b81d96cc981329400b838d1

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9e97fe30a0c2be6d0b81d96cc981329400b838d1
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list