- full-res source jobs carried only the footage node box: dropping the project mid-flight left the node dangling (crash in the worker's free path) and the node was also freed twice (at renderer creation AND at release). The request now carries an addref'd project copy and the node is freed exactly once; regression test drops the project before the worker runs - the source clock ticked at the SEQUENCE length, so playing footage with an empty sequence froze the source playhead at 0; the source clock now loops at the selected footage's probed duration - oak-cli/oak-worker: DeepSeek's refactor batch (clap migration, engine FFI consumers); the stale exporter-family test flipped to the real contract (mp4 is written) - engine: render_audio smoke test on an empty sequence
41 lines
1.7 KiB
TOML
41 lines
1.7 KiB
TOML
# Oak - Non-Linear Video Editor
|
|
# Copyright (C) 2026 Oak Team
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
[package]
|
|
name = "oak-cli"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Oak Video Editor headless command-line consumer of the liboakengine C ABI facade (Rust)"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[[bin]]
|
|
name = "oak-cli"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
|
|
# oak-cli is a PURE C-ABI consumer of the built `liboakengine` cdylib:
|
|
# every engine call goes through the `extern "C"` declarations in
|
|
# src/ffi.rs (and the dlsym-resolved optional families in src/optional.rs).
|
|
# No oak* crate appears here — not even oakengine, which is cdylib-only:
|
|
# the link happens through build.rs (rustc-link-search + rpath pointing at
|
|
# the profile dir `cargo build -p oakengine` produces the dylib in) and
|
|
# the `#[link(name = "oakengine", kind = "dylib")]` block in src/ffi.rs.
|
|
# Build order: `cargo build -p oakengine` first, then `cargo build` /
|
|
# `cargo test -p oak-cli` (linking and running the binary need the dylib;
|
|
# `cargo check` does not link and works standalone).
|