aboutsummaryrefslogtreecommitdiff
path: root/remuxer
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-01-23 18:00:28 +0100
committermetamuffin <metamuffin@disroot.org>2023-01-23 18:00:28 +0100
commit4529d07cc3f2f86a9dbb0d4802875a81d5c4c495 (patch)
tree1d20346dcb4d5de761dddd3e43e7e773d157abfe /remuxer
parent9a2db97a779196fc670252d655c0f6bc159e9584 (diff)
downloadjellything-4529d07cc3f2f86a9dbb0d4802875a81d5c4c495.tar
jellything-4529d07cc3f2f86a9dbb0d4802875a81d5c4c495.tar.bz2
jellything-4529d07cc3f2f86a9dbb0d4802875a81d5c4c495.tar.zst
readme + add licence information
Diffstat (limited to 'remuxer')
-rw-r--r--remuxer/src/format.rs5
-rw-r--r--remuxer/src/import/mod.rs8
-rw-r--r--remuxer/src/lib.rs5
3 files changed, 16 insertions, 2 deletions
diff --git a/remuxer/src/format.rs b/remuxer/src/format.rs
index f6cc411..22527f7 100644
--- a/remuxer/src/format.rs
+++ b/remuxer/src/format.rs
@@ -1,3 +1,8 @@
+/*
+ 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>
+*/
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
diff --git a/remuxer/src/import/mod.rs b/remuxer/src/import/mod.rs
index 505fbe4..65fc455 100644
--- a/remuxer/src/import/mod.rs
+++ b/remuxer/src/import/mod.rs
@@ -1,5 +1,8 @@
-use std::path::PathBuf;
-
+/*
+ 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>
+*/
use anyhow::{anyhow, bail, Result};
use jellycommon::{ItemInfo, SourceTrack, SourceTrackKind};
use jellymatroska::{
@@ -9,6 +12,7 @@ use jellymatroska::{
unflatten::{Unflat, Unflatten},
};
use log::{debug, error, info, trace, warn};
+use std::path::PathBuf;
pub fn import_read(path: &PathBuf, input: &mut EbmlReader, iteminfo: &mut ItemInfo) -> Result<()> {
// TODO dont traverse the entire file, if the tracks are listed at the end
diff --git a/remuxer/src/lib.rs b/remuxer/src/lib.rs
index 7ee6ded..be1ecc0 100644
--- a/remuxer/src/lib.rs
+++ b/remuxer/src/lib.rs
@@ -1,3 +1,8 @@
+/*
+ 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>
+*/
pub mod format;
pub mod import;