[vlc-commits] [Git][videolan/vlc][master] scaletempo: load preferred resampler when changing pitch

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Apr 8 12:22:52 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0f2b5cde by Thomas Guillem at 2024-04-08T11:33:45+00:00
scaletempo: load preferred resampler when changing pitch

- - - - -


1 changed file:

- modules/audio_filter/scaletempo.c


Changes:

=====================================
modules/audio_filter/scaletempo.c
=====================================
@@ -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 )
     {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0f2b5cde70d8cb70294105c3781e237ca4a56a60

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0f2b5cde70d8cb70294105c3781e237ca4a56a60
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list