Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@igalia.com>2023-10-04 11:17:47 +0300
committerStéphane Cerveau <scerveau@igalia.com>2023-10-04 13:47:15 +0300
commit68c2d27e8dd3347b8d1fbfbd64eb7b45418e07df (patch)
tree5963ce7e29c674ae7fefca93a6405baabff30e48
parent4569b7eca626a3795ff70667b2b7607dac02e958 (diff)
fmp4mux: specify the fragment duration unit
The fragment duration is expressed in nanoseconds. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1348>
-rw-r--r--docs/plugins/gst_plugins_cache.json2
-rw-r--r--mux/fmp4/src/fmp4mux/imp.rs2
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(),