mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
audio,video: Use manual implementations for fns using *Endianness
{Audio,Video}Endianness is an enumeration to represent the two possible values in Rust but this enumeration does not exist as such in C, where it is merely an integer with some constants defining possible values.
This commit is contained in:
parent
d7bc916dfa
commit
1b1a99b320
2 changed files with 10 additions and 0 deletions
|
@ -154,6 +154,11 @@ status = "generate"
|
||||||
# as AudioFormatInfo::from_format()
|
# as AudioFormatInfo::from_format()
|
||||||
ignore = true
|
ignore = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "build_integer"
|
||||||
|
# Use custom AudioEndianness enum
|
||||||
|
manual = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstAudio.AudioStreamAlign"
|
name = "GstAudio.AudioStreamAlign"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
|
|
@ -400,6 +400,11 @@ status = "generate"
|
||||||
# as VideoFormatInfo::from_format()
|
# as VideoFormatInfo::from_format()
|
||||||
ignore = true
|
ignore = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "from_masks"
|
||||||
|
# Use custom VideoEndianness enum
|
||||||
|
manual = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstVideo.VideoSink"
|
name = "GstVideo.VideoSink"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
|
Loading…
Reference in a new issue