rtp2: Fix typo on auto-header-extension property name

The rtp (de)pay elements use auto-header-extension so the new elements should do
the same.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1646>
This commit is contained in:
Philippe Normand 2024-07-02 09:35:39 +01:00
parent 95ae67752f
commit eee93aea52
3 changed files with 8 additions and 8 deletions

View file

@ -8882,7 +8882,7 @@
],
"kind": "object",
"properties": {
"auto-header-extensions": {
"auto-header-extension": {
"blurb": "Whether RTP header extensions should be automatically enabled, if an implementation is available",
"conditionally-available": false,
"construct": false,
@ -8988,7 +8988,7 @@
],
"kind": "object",
"properties": {
"auto-header-extensions": {
"auto-header-extension": {
"blurb": "Whether RTP header extensions should be automatically enabled, if an implementation is available",
"conditionally-available": false,
"construct": false,

View file

@ -1793,7 +1793,7 @@ impl ObjectImpl for RtpBaseDepay2 {
.default_value(Settings::default().source_info)
.mutable_playing()
.build(),
glib::ParamSpecBoolean::builder("auto-header-extensions")
glib::ParamSpecBoolean::builder("auto-header-extension")
.nick("Automatic RTP Header Extensions")
.blurb("Whether RTP header extensions should be automatically enabled, if an implementation is available")
.default_value(Settings::default().auto_header_extensions)
@ -1873,7 +1873,7 @@ impl ObjectImpl for RtpBaseDepay2 {
"source-info" => {
self.settings.lock().unwrap().source_info = value.get().unwrap();
}
"auto-header-extensions" => {
"auto-header-extension" => {
self.settings.lock().unwrap().auto_header_extensions = value.get().unwrap();
}
_ => unimplemented!(),
@ -1885,7 +1885,7 @@ impl ObjectImpl for RtpBaseDepay2 {
"stats" => self.create_stats().to_value(),
"max-reorder" => self.settings.lock().unwrap().max_reorder.to_value(),
"source-info" => self.settings.lock().unwrap().source_info.to_value(),
"auto-header-extensions" => self
"auto-header-extension" => self
.settings
.lock()
.unwrap()

View file

@ -1833,7 +1833,7 @@ impl ObjectImpl for RtpBasePay2 {
.default_value(Settings::default().source_info)
.mutable_playing()
.build(),
glib::ParamSpecBoolean::builder("auto-header-extensions")
glib::ParamSpecBoolean::builder("auto-header-extension")
.nick("Automatic RTP Header Extensions")
.blurb("Whether RTP header extensions should be automatically enabled, if an implementation is available")
.default_value(Settings::default().auto_header_extensions)
@ -1934,7 +1934,7 @@ impl ObjectImpl for RtpBasePay2 {
"source-info" => {
self.settings.lock().unwrap().source_info = value.get().unwrap();
}
"auto-header-extensions" => {
"auto-header-extension" => {
self.settings.lock().unwrap().auto_header_extensions = value.get().unwrap();
}
_ => unimplemented!(),
@ -1994,7 +1994,7 @@ impl ObjectImpl for RtpBasePay2 {
.unwrap_or(0)
.to_value(),
"source-info" => self.settings.lock().unwrap().source_info.to_value(),
"auto-header-extensions" => self
"auto-header-extension" => self
.settings
.lock()
.unwrap()