fluiddec: Remove workaround for version 1.1.9

We require >= 2.1 version since the previous commit

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2718>
This commit is contained in:
Jordan Petridis 2022-07-05 18:21:12 +03:00 committed by GStreamer Marge Bot
parent 2fa6ec8733
commit 3385ea3481

View file

@ -736,16 +736,6 @@ fluiddec_element_init (GstPlugin * plugin)
fluid_set_log_function (FLUID_DBG, NULL, NULL); fluid_set_log_function (FLUID_DBG, NULL, NULL);
#endif #endif
#if GST_HAVE_FLUIDSYNTH_VERSION(1, 1, 9)
{
/* Disable all audio drivers so new_fluid_settings() does not probe them.
* This can crash if FluidSynth is already in use. */
const char *empty[] = { NULL };
if (fluid_audio_driver_register (empty) != FLUID_OK) {
GST_WARNING ("Failed to clear audio drivers");
}
}
#endif
return gst_element_register (plugin, "fluiddec", return gst_element_register (plugin, "fluiddec",
GST_RANK_SECONDARY, GST_TYPE_FLUID_DEC); GST_RANK_SECONDARY, GST_TYPE_FLUID_DEC);
} }