summaryrefslogtreecommitdiff
path: root/plugins/converter
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/converter')
-rw-r--r--plugins/converter/convgui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/converter/convgui.c b/plugins/converter/convgui.c
index 7147f09e..ccb15878 100644
--- a/plugins/converter/convgui.c
+++ b/plugins/converter/convgui.c
@@ -128,6 +128,7 @@ overwrite_prompt_cb (void *ctx) {
static void
converter_worker (void *ctx) {
+ deadbeef->background_job_increment ();
converter_ctx_t *conv = ctx;
char root[2000] = "";
@@ -243,6 +244,7 @@ converter_worker (void *ctx) {
converter_plugin->encoder_preset_free (conv->encoder_preset);
converter_plugin->dsp_preset_free (conv->dsp_preset);
free (conv);
+ deadbeef->background_job_decrement ();
}
int