Remove stale TODOs.

This commit is contained in:
Bill Thiede 2019-11-04 20:24:52 -08:00
parent b77d61bbe6
commit 75956dd1ff

View File

@ -83,7 +83,6 @@ impl Tags {
}
}
// TODO(wathiede): make strem an enum with the tag type stored in codec_type?
#[derive(Clone, Deserialize, Debug, Serialize)]
#[serde(tag = "codec_type")]
enum Stream {
@ -180,7 +179,6 @@ pub struct SubtitleFormat {
#[derive(Clone, Deserialize, Debug, Serialize)]
pub struct CompactMetadata {
bit_rate: usize,
// TODO(wathiede): make this a custom Duration type that pretty prints H:M:S
pub duration: f32,
filename: String,
format_name: String,
@ -236,7 +234,6 @@ pub struct MovieLibrary {
fn json_metadata_for_path<P: AsRef<Path> + AsRef<OsStr>>(path: P) -> Result<String, Error> {
let mut cmd = Command::new("ffprobe");
// TODO(wathiede): maybe add "-select_streams v"
cmd.args(&[
"-v",
"quiet",