From 6cd529ccec49f73cd4644bacfdb9e0459e1fd491 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 7 May 2023 17:06:22 +0200 Subject: [PATCH] core/codecs: EncodeParameters.bitrate is in bits per second --- nihav-core/src/codecs/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-core/src/codecs/mod.rs b/nihav-core/src/codecs/mod.rs index 5cf7d07..1482a61 100644 --- a/nihav-core/src/codecs/mod.rs +++ b/nihav-core/src/codecs/mod.rs @@ -226,7 +226,7 @@ pub struct EncodeParameters { pub tb_num: u32, /// Time base denominator. Ignored for audio. pub tb_den: u32, - /// Bitrate in kilobits per second. + /// Bitrate in bits per second. pub bitrate: u32, /// A collection of various boolean encoder settings like CBR mode. /// -- 2.39.5