mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-26 07:08:34 -05:00
vlc-video: Enable surround sound support
The vlc plugin was keeping only up to two audio channels. It was overlooked when surround sound support was added to obs-studio. This commit remedies this oversight. Signed-off-by: pkv <pkv@obsproject.com>
This commit is contained in:
@@ -460,8 +460,6 @@ static int vlcs_audio_setup(void **p_data, char *format, unsigned *rate,
|
||||
enum audio_format new_audio_format;
|
||||
|
||||
new_audio_format = convert_vlc_audio_format(format);
|
||||
if (*channels > 2)
|
||||
*channels = 2;
|
||||
|
||||
/* don't free audio data if the data is the same format */
|
||||
if (c->audio.format == new_audio_format &&
|
||||
|
||||
Reference in New Issue
Block a user