mirror of https://code.videolan.org/videolan/vlc
scaletempo: load preferred resampler when changing pitch
This commit is contained in:
parent
9b3edfbbac
commit
0f2b5cde70
|
@ -483,8 +483,7 @@ static filter_t *ResamplerCreate(filter_t *p_filter)
|
|||
p_resampler->fmt_out = p_filter->fmt_in;
|
||||
p_resampler->fmt_out.audio.i_rate = atomic_load( &p_sys->rate_shift );
|
||||
aout_FormatPrepare( &p_resampler->fmt_out.audio );
|
||||
p_resampler->p_module = module_need( p_resampler, "audio resampler", NULL,
|
||||
false );
|
||||
p_resampler->p_module = module_need_var(p_resampler, "audio resampler", "audio-resampler");
|
||||
|
||||
if( p_resampler->p_module == NULL )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue