fluiddec: Remove workaround for version 1.1.9
authorJordan Petridis <jordan@centricular.com>
Tue, 5 Jul 2022 15:21:12 +0000 (18:21 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 9 Jul 2022 14:19:11 +0000 (14:19 +0000)
We require >= 2.1 version since the previous commit

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2718>

subprojects/gst-plugins-bad/ext/fluidsynth/gstfluiddec.c

index 82f6668..9c13a8b 100644 (file)
@@ -736,16 +736,6 @@ fluiddec_element_init (GstPlugin * plugin)
   fluid_set_log_function (FLUID_DBG, NULL, NULL);
 #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",
       GST_RANK_SECONDARY, GST_TYPE_FLUID_DEC);
 }