diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c index cd44d1d508..bb865d771a 100644 --- a/ext/vorbis/gstvorbisdec.c +++ b/ext/vorbis/gstvorbisdec.c @@ -760,11 +760,9 @@ empty_header: static void vorbis_dec_flush (GstAudioDecoder * dec, gboolean hard) { -#ifdef HAVE_VORBIS_SYNTHESIS_RESTART GstVorbisDec *vd = GST_VORBIS_DEC (dec); vorbis_synthesis_restart (&vd->vd); -#endif } static void diff --git a/ext/vorbis/meson.build b/ext/vorbis/meson.build index f008d84802..46001061ef 100644 --- a/ext/vorbis/meson.build +++ b/ext/vorbis/meson.build @@ -15,16 +15,10 @@ vorbisidec_sources = [ 'gstvorbiscommon.c', ] -vorbis_dep = dependency('vorbis', version : '>=1.0', required : get_option('vorbis')) -vorbisenc_dep = dependency('vorbisenc', version : '>=1.0', required : get_option('vorbis')) +vorbis_dep = dependency('vorbis', version : '>= 1.3.1', required : get_option('vorbis')) +vorbisenc_dep = dependency('vorbisenc', version : '>= 1.3.1', required : get_option('vorbis')) vorbisidec_dep = dependency('vorbisidec', required : get_option('tremor')) -if vorbis_dep.found() or vorbisidec_dep.found() - if cc.has_header_symbol('vorbis/codec.h', 'vorbis_synthesis_restart') - core_conf.set('HAVE_VORBIS_SYNTHESIS_RESTART', true) - endif -endif - if vorbis_dep.found() vorbis_deps = [vorbis_dep] if vorbisenc_dep.found()