PR #22383 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22383
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22383.patch

This should make things more consistent over time

Signed-off-by: Michael Niedermayer <[email protected]>


>From 4fac7ae3088e3d5425eb7a6ccba955e17fb2632b Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <[email protected]>
Date: Wed, 4 Mar 2026 22:57:50 +0100
Subject: [PATCH] doc/developer: Favor SI base unit where applicable

This should make things more consistent over time

Signed-off-by: Michael Niedermayer <[email protected]>
---
 doc/developer.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/developer.texi b/doc/developer.texi
index f1c8e42840..9c55cc964b 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -367,6 +367,9 @@ symbols. If in doubt, just avoid names starting with 
@code{_} altogether.
 @item
 Casts should be used only when necessary. Unneeded parentheses
 should also be avoided if they don't make the code easier to understand.
+@item
+Where applicable the base SI unit shall be used. For example timeouts should 
use seconds as the fundamental unit.
+That means a bare value like @samp{1.0} must mean 1 second, @samp{50m} means 
50 milliseconds.
 @end itemize
 
 @anchor{Development Policy}
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to