Skip to content

Commit

Permalink
Release v0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikWin committed Oct 7, 2024
1 parent 0583d37 commit 3b18517
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 28 deletions.
2 changes: 1 addition & 1 deletion vidformer-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vidformer-cli"
version = "0.5.2"
version = "0.5.3"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion vidformer-py/src/vidformer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""A Python library for creating and viewing videos with vidformer."""

__version__ = "0.5.2"
__version__ = "0.5.3"

import subprocess
from fractions import Fraction
Expand Down
2 changes: 1 addition & 1 deletion vidformer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vidformer"
version = "0.5.2"
version = "0.5.3"
description = "A data-systems focused library for declarative video synthesis."
authors = ["Dominik Winecki <dominikwinecki@gmail.com>"]
edition = "2021"
Expand Down
25 changes: 0 additions & 25 deletions vidformer/src/av/demuxer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,31 +99,6 @@ impl Demuxer {

let op = service.blocking_operator(io_runtime_handle)?;

// // Validate file works before passing to libav
// match op.stat(file_path) {
// Ok(stats) => {
// if !stats.is_file() {
// return Err(crate::Error::IOError(format!("`{}` is not a file", file_path)));
// }
// if stats.content_length() != file_size {
// return Err(crate::Error::IOError(format!(
// "File `{}` has changed size since last read",
// file_path
// )));
// }
// }
// Err(e) => {
// match e.kind() {
// opendal::ErrorKind::NotFound => {
// return Err(crate::Error::IOError(format!("File `{}` not found", file_path)))
// }
// _ => {
// return Err(crate::Error::IOError(format!("OpenDAL error: {}", e)))
// }
// }
// }
// }

let reader: opendal::BlockingReader = op.reader(file_path).map_err(|e| {
if e.kind() == opendal::ErrorKind::NotFound {
crate::Error::IOError(format!("File `{}` not found", file_path))
Expand Down

0 comments on commit 3b18517

Please sign in to comment.