mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-05 17:19:42 +00:00
Pad::new_from_static_pad_template_with_gtype() can return None
This commit is contained in:
parent
00cbd49923
commit
5625a75b1b
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ impl PadTemplate {
|
|||
pub fn new_from_static_pad_template_with_gtype(
|
||||
pad_template: &StaticPadTemplate,
|
||||
pad_type: glib::types::Type,
|
||||
) -> PadTemplate {
|
||||
) -> Option<PadTemplate> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
from_glib_none(
|
||||
|
|
Loading…
Reference in a new issue