Commit 32db92e7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DirectSound: always set the original_channels

Ref #13826
parent 4817603a
...@@ -773,6 +773,8 @@ static HRESULT Start( vlc_object_t *obj, aout_stream_sys_t *sys, ...@@ -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, int ret = vlc_clone(&sys->eraser_thread, PlayedDataEraser, (void*) obj,
VLC_THREAD_PRIORITY_LOW); VLC_THREAD_PRIORITY_LOW);
if( unlikely( ret ) ) if( unlikely( ret ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment