This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 20cade1ba3 doc/developer: Favor SI units where applicable
20cade1ba3 is described below

commit 20cade1ba34a3f36d0b4fff5a06e566873b07f15
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Mar 4 22:57:50 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Fri Mar 6 04:29:52 2026 +0000

    doc/developer: Favor SI units 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..f41ba924c0 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, SI units shall be used. For example timeouts should use 
seconds as the fundamental unit not micro seconds.
+That means a bare value like @samp{1.0} must mean 1 second, @samp{50m} means 
50 milliseconds. For weight, gram shall be used.
 @end itemize
 
 @anchor{Development Policy}

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

Reply via email to