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>
This commit is contained in:
Stéphane Cerveau 2023-10-04 10:17:47 +02:00
parent 4569b7eca6
commit 68c2d27e8d
2 changed files with 2 additions and 2 deletions

View file

@ -1888,7 +1888,7 @@
"writable": true "writable": true
}, },
"fragment-duration": { "fragment-duration": {
"blurb": "Duration for each FMP4 fragment", "blurb": "Duration for each FMP4 fragment in nanoseconds",
"conditionally-available": false, "conditionally-available": false,
"construct": false, "construct": false,
"construct-only": false, "construct-only": false,

View file

@ -2827,7 +2827,7 @@ impl ObjectImpl for FMP4Mux {
vec![ vec![
glib::ParamSpecUInt64::builder("fragment-duration") glib::ParamSpecUInt64::builder("fragment-duration")
.nick("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()) .default_value(DEFAULT_FRAGMENT_DURATION.nseconds())
.mutable_ready() .mutable_ready()
.build(), .build(),