mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-05-20 17:28:26 +00:00
a00243d529
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on https://github.com/sdroege/gstreamer-sys/pull/8 Uses a new gir feature proposed at https://github.com/gtk-rs/gir/pull/539 to make doc regeneration easier. Fixes https://github.com/sdroege/gstreamer-rs/pull/80
23 lines
561 B
Rust
23 lines
561 B
Rust
// This file was generated by gir (https://github.com/gtk-rs/gir @ 47eb915)
|
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
|
// DO NOT EDIT
|
|
|
|
use ffi;
|
|
use glib::translate::*;
|
|
use glib_ffi;
|
|
use gobject_ffi;
|
|
use std::mem;
|
|
use std::ptr;
|
|
|
|
glib_wrapper! {
|
|
pub struct RTSPAddress(Boxed<ffi::GstRTSPAddress>);
|
|
|
|
match fn {
|
|
copy => |ptr| ffi::gst_rtsp_address_copy(mut_override(ptr)),
|
|
free => |ptr| ffi::gst_rtsp_address_free(ptr),
|
|
get_type => || ffi::gst_rtsp_address_get_type(),
|
|
}
|
|
}
|
|
|
|
unsafe impl Send for RTSPAddress {}
|