mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-01 07:08:29 +00:00
6f09e5c791
Get rid of unneeded transmutes and actually initialize flags/enum GValues with the correct type instead of using integers.
30 lines
569 B
Rust
30 lines
569 B
Rust
// This file was generated by gir (d50d839) from gir-files (???)
|
|
// DO NOT EDIT
|
|
|
|
use BaseSrc;
|
|
use ffi;
|
|
use glib::translate::*;
|
|
use glib_ffi;
|
|
use gobject_ffi;
|
|
use gst;
|
|
use gst_ffi;
|
|
use std::mem;
|
|
use std::ptr;
|
|
|
|
glib_wrapper! {
|
|
pub struct PushSrc(Object<ffi::GstPushSrc, ffi::GstPushSrcClass>): [
|
|
BaseSrc,
|
|
gst::Element => gst_ffi::GstElement,
|
|
gst::Object => gst_ffi::GstObject,
|
|
];
|
|
|
|
match fn {
|
|
get_type => || ffi::gst_push_src_get_type(),
|
|
}
|
|
}
|
|
|
|
impl PushSrc {}
|
|
|
|
unsafe impl Send for PushSrc {}
|
|
unsafe impl Sync for PushSrc {}
|