mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
2fa6ec8733
commit
3385ea3481
1 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue