forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

common.rs13 lines, 347 bytesHistoryRawDownload
1//! Helpers shared by the integration tests in this binary.
2
3use ec_core::CodecId;
4
5/// ffprobe's codec name for each of our codec ids.
6pub fn ffmpeg_name(codec: CodecId) -> &'static str {
7 match codec {
8 CodecId::H265 => "hevc",
9 CodecId::Av1 => "av1",
10 CodecId::Tx3g => "mov_text",
11 other => other.name(),
12 }
13}