mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-23 01:18:11 +00:00
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:
parent
3627e52673
commit
ac3ca76c9f
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue