diff options
Diffstat (limited to 'transcoder/src/snippet.rs')
-rw-r--r-- | transcoder/src/snippet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/transcoder/src/snippet.rs b/transcoder/src/snippet.rs index 50f5a82..5da1ae7 100644 --- a/transcoder/src/snippet.rs +++ b/transcoder/src/snippet.rs @@ -4,7 +4,7 @@ Copyright (C) 2023 metamuffin <metamuffin.org> */ -use crate::LOCAL_TRANSCODING_TASKS; +use crate::LOCAL_VIDEO_TRANSCODING_TASKS; use jellybase::cache::async_cache_file; use jellycommon::{jhls::EncodingProfile, AssetLocation}; use log::{debug, info}; @@ -25,7 +25,7 @@ pub async fn transcode( Ok(async_cache_file( &["snip-tc", key, &format!("{enc:?}")], move |mut output| async move { - let _permit = LOCAL_TRANSCODING_TASKS.acquire().await?; + let _permit = LOCAL_VIDEO_TRANSCODING_TASKS.acquire().await?; debug!("transcoding snippet {key}"); let mut args = Vec::new(); |