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/1387>
This commit is contained in:
Stéphane Cerveau 2023-10-04 10:17:47 +02:00 committed by Sebastian Dröge
parent 3627e52673
commit ac3ca76c9f
2 changed files with 2 additions and 2 deletions

View file

@ -1779,7 +1779,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

@ -2835,7 +2835,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(),