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>master
parent
306e23292d
commit
17c069e1d0
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue