From 68c2d27e8dd3347b8d1fbfbd64eb7b45418e07df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Wed, 4 Oct 2023 10:17:47 +0200 Subject: [PATCH] fmp4mux: specify the fragment duration unit The fragment duration is expressed in nanoseconds. Part-of: --- docs/plugins/gst_plugins_cache.json | 2 +- mux/fmp4/src/fmp4mux/imp.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index f14d6285..11bf5b56 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -1888,7 +1888,7 @@ "writable": true }, "fragment-duration": { - "blurb": "Duration for each FMP4 fragment", + "blurb": "Duration for each FMP4 fragment in nanoseconds", "conditionally-available": false, "construct": false, "construct-only": false, diff --git a/mux/fmp4/src/fmp4mux/imp.rs b/mux/fmp4/src/fmp4mux/imp.rs index 3a090d6d..6da92b91 100644 --- a/mux/fmp4/src/fmp4mux/imp.rs +++ b/mux/fmp4/src/fmp4mux/imp.rs @@ -2827,7 +2827,7 @@ impl ObjectImpl for FMP4Mux { vec![ glib::ParamSpecUInt64::builder("fragment-duration") .nick("Fragment Duration") - .blurb("Duration for each FMP4 fragment") + .blurb("Duration for each FMP4 fragment in nanoseconds") .default_value(DEFAULT_FRAGMENT_DURATION.nseconds()) .mutable_ready() .build(),