aboutsummaryrefslogtreecommitdiff
path: root/transcoder/src/snippet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'transcoder/src/snippet.rs')
-rw-r--r--transcoder/src/snippet.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/transcoder/src/snippet.rs b/transcoder/src/snippet.rs
index 5da1ae7..3632919 100644
--- a/transcoder/src/snippet.rs
+++ b/transcoder/src/snippet.rs
@@ -5,8 +5,8 @@
*/
use crate::LOCAL_VIDEO_TRANSCODING_TASKS;
-use jellybase::cache::async_cache_file;
-use jellycommon::{jhls::EncodingProfile, AssetLocation};
+use jellybase::cache::{async_cache_file, CachePath};
+use jellycommon::jhls::EncodingProfile;
use log::{debug, info};
use std::process::Stdio;
use tokio::{
@@ -21,7 +21,7 @@ pub async fn transcode(
key: &str,
enc: &EncodingProfile,
input: impl FnOnce(ChildStdin),
-) -> anyhow::Result<AssetLocation> {
+) -> anyhow::Result<CachePath> {
Ok(async_cache_file(
&["snip-tc", key, &format!("{enc:?}")],
move |mut output| async move {