[vlc-commits] DirectSound: always set the original_channels
Jean-Baptiste Kempf
git at videolan.org
Thu Feb 12 21:35:33 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 12 21:34:08 2015 +0100| [32db92e713d16c2a98730d126b6adcad87b27698] | committer: Jean-Baptiste Kempf
DirectSound: always set the original_channels
Ref #13826
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32db92e713d16c2a98730d126b6adcad87b27698
---
modules/audio_output/directsound.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/audio_output/directsound.c b/modules/audio_output/directsound.c
index 3d1c2bd..2a1a06d 100644
--- a/modules/audio_output/directsound.c
+++ b/modules/audio_output/directsound.c
@@ -773,6 +773,8 @@ static HRESULT Start( vlc_object_t *obj, aout_stream_sys_t *sys,
}
}
+ fmt->i_original_channels = fmt->i_physical_channels;
+
int ret = vlc_clone(&sys->eraser_thread, PlayedDataEraser, (void*) obj,
VLC_THREAD_PRIORITY_LOW);
if( unlikely( ret ) )
More information about the vlc-commits
mailing list