[vlc-commits] DirectSound: always set the original_channels
Jean-Baptiste Kempf
git at videolan.org
Thu Feb 12 22:09:26 CET 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 12 21:34:08 2015 +0100| [cf9a19f00e03608c27baa16e4a2d29d13a877100] | committer: Jean-Baptiste Kempf
DirectSound: always set the original_channels
Ref #13826
(cherry picked from commit 32db92e713d16c2a98730d126b6adcad87b27698)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=cf9a19f00e03608c27baa16e4a2d29d13a877100
---
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 259c842..480089b 100644
--- a/modules/audio_output/directsound.c
+++ b/modules/audio_output/directsound.c
@@ -772,6 +772,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