aboutsummaryrefslogtreecommitdiff
path: root/transcoder/src/lib.rs
blob: 63d2cb8f8826607572c67a1cff6d9359816101f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
    This file is part of jellything (https://codeberg.org/metamuffin/jellything)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2023 metamuffin <metamuffin.org>
*/
#![feature(async_closure)]
#![feature(exit_status_error)]

use tokio::sync::Semaphore;
pub mod image;
pub mod snippet;
pub mod subtitles;
pub mod thumbnail;

static LOCAL_IMAGE_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(8);
static LOCAL_VIDEO_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(2);