mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
gstreamer/element: Include ElementExtManual::request_pad_simple() in the docs too
Currently only the v1_20 ElementExt::request_pad_simple() appears in the docs but it's available from the other trait in older versions.
This commit is contained in:
parent
c9b88afcb4
commit
edac1a1d3a
1 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ pub trait ElementExtManual: 'static {
|
|||
#[doc(alias = "get_current_clock_time")]
|
||||
fn current_clock_time(&self) -> Option<crate::ClockTime>;
|
||||
|
||||
#[cfg(not(feature = "v1_20"))]
|
||||
#[cfg(any(not(feature = "v1_20"), feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(not(feature = "v1_20"))))]
|
||||
#[doc(alias = "gst_element_get_request_pad")]
|
||||
#[doc(alias = "get_request_pad")]
|
||||
|
@ -797,7 +797,7 @@ impl<O: IsA<Element>> ElementExtManual for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "v1_20"))]
|
||||
#[cfg(any(not(feature = "v1_20"), feature = "dox"))]
|
||||
fn request_pad_simple(&self, name: &str) -> Option<Pad> {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_element_get_request_pad(
|
||||
|
|
Loading…
Reference in a new issue