mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
audio,ges,rtsp-server: Define GstObjectExt trait rename for docs
The generator does not read Gir.toml from dependencies, missing out on trait renames like `ObjectExt` turning into GstObjectExt` (to prevent clashes with `glib`'s `ObjectExt`). Renaming through `trait_name` is now taken into account in `gir` thanks to [1], but the renames still need to be availble to all crates referencing this type. Fortunately only `Gst.Object` is affected - other renamed traits are not extended in any of the other crates. [1]: https://github.com/gtk-rs/gir/pull/1108
This commit is contained in:
parent
579ac6c4e4
commit
a49ea94d14
3 changed files with 18 additions and 2 deletions
|
@ -33,7 +33,6 @@ generate = [
|
||||||
|
|
||||||
manual = [
|
manual = [
|
||||||
"GObject.Object",
|
"GObject.Object",
|
||||||
"Gst.Object",
|
|
||||||
"Gst.Element",
|
"Gst.Element",
|
||||||
"Gst.Allocator",
|
"Gst.Allocator",
|
||||||
"Gst.AllocationParams",
|
"Gst.AllocationParams",
|
||||||
|
@ -45,6 +44,12 @@ manual = [
|
||||||
"GstAudio.AudioFormatInfo",
|
"GstAudio.AudioFormatInfo",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[object]]
|
||||||
|
name = "Gst.Object"
|
||||||
|
# For renaming the trait...
|
||||||
|
status = "manual"
|
||||||
|
trait_name = "GstObjectExt"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Caps"
|
name = "Gst.Caps"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
|
|
|
@ -29,7 +29,6 @@ manual = [
|
||||||
"GstPbutils.EncodingProfile",
|
"GstPbutils.EncodingProfile",
|
||||||
"GstPbutils.DiscovererInfo",
|
"GstPbutils.DiscovererInfo",
|
||||||
"GstPbutils.DiscovererStreamInfo",
|
"GstPbutils.DiscovererStreamInfo",
|
||||||
"Gst.Object",
|
|
||||||
"Gst.Element",
|
"Gst.Element",
|
||||||
"Gst.Pad",
|
"Gst.Pad",
|
||||||
"Gst.Pipeline",
|
"Gst.Pipeline",
|
||||||
|
@ -47,6 +46,12 @@ generate = [
|
||||||
"GES.VideoStandardTransitionType",
|
"GES.VideoStandardTransitionType",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[object]]
|
||||||
|
name = "Gst.Object"
|
||||||
|
# For renaming the trait...
|
||||||
|
status = "manual"
|
||||||
|
trait_name = "GstObjectExt"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Structure"
|
name = "Gst.Structure"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
|
|
|
@ -63,6 +63,12 @@ manual = [
|
||||||
"GstRtsp.RTSPLowerTrans"
|
"GstRtsp.RTSPLowerTrans"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[object]]
|
||||||
|
name = "Gst.Object"
|
||||||
|
# For renaming the trait...
|
||||||
|
status = "manual"
|
||||||
|
trait_name = "GstObjectExt"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Message"
|
name = "Gst.Message"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
|
|
Loading…
Reference in a new issue