From 5f767f68a7b0ca788622bb72889bed7cd2794bdb Mon Sep 17 00:00:00 2001 From: connerdouglass Date: Mon, 11 Mar 2024 12:10:05 -0400 Subject: [PATCH] chore: add sample_fmt and sample_rate to ffprobe metadata --- metadata/ffprobe_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata/ffprobe_types.go b/metadata/ffprobe_types.go index ff70a01..a4b8238 100644 --- a/metadata/ffprobe_types.go +++ b/metadata/ffprobe_types.go @@ -75,6 +75,8 @@ type VideoStreamMeta struct { } type AudioStreamMeta struct { + SampleFmt string `json:"sample_fmt"` + SampleRate string `json:"sample_rate"` Channels int `json:"channels"` ChannelLayout string `json:"channel_layout"` BitsPerSample int `json:"bits_per_sample"`