tilpner 3d6efeba5e fix(codec, format)!: detect unset time_bases, allow unsetting time_base
Instead of silently passing possibly unset `time_base`s back into ffmpeg,
force users to explicitly handle (even if just by early panic) their absence.

BREAKING CHANGE: `time_base` and `set_time_base` functions now
return/accept Option<Rational> (±Into). `unwrap`/`expect` is a valid way
to surface this unwanted state early in user code.

For symmetry, `set_time_base` also allows unsetting by passing a `None`,
so all existing calls (with non-zero timebases) need to wrap the
argument in `Some`.
2023-08-29 16:09:37 +02:00
2021-12-13 14:49:58 +01:00
2020-10-04 18:37:54 +02:00
2020-12-23 03:13:11 +01:00
2023-05-24 21:49:22 +02:00
2016-04-03 17:32:34 +02:00
S
Description
No description provided
WTFPL 1.3 MiB
Languages
Rust 99.6%
Nix 0.4%