Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-06-24 14:56:11 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-06-24 14:56:11 +0300
commita9960f1fc07f0baddc75a85d40cb8719d486a378 (patch)
tree3c03ab13b25277e2bf3e9069694ddf72acd8fa2f /gst-plugin/src/base_src.rs
parent754373ba6c89cc2bb9fe5779b156dcf0e374a465 (diff)
Get rid of callback_guard! as unwinding through FFI is defined behaviour now and aborts
Diffstat (limited to 'gst-plugin/src/base_src.rs')
-rw-r--r--gst-plugin/src/base_src.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/gst-plugin/src/base_src.rs b/gst-plugin/src/base_src.rs
index 12ff3d6e2..3f3229252 100644
--- a/gst-plugin/src/base_src.rs
+++ b/gst-plugin/src/base_src.rs
@@ -383,7 +383,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -399,7 +398,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -415,7 +413,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -434,7 +431,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -461,7 +457,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -483,7 +478,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -511,7 +505,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -530,7 +523,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -550,7 +542,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -569,7 +560,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -593,7 +583,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -610,7 +599,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -630,7 +618,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -649,7 +636,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);
@@ -665,7 +651,6 @@ where
T::ImplType: BaseSrcImpl<T>,
T::InstanceStructType: PanicPoison,
{
- callback_guard!();
floating_reference_guard!(ptr);
let element = &*(ptr as *mut T::InstanceStructType);
let wrap: T = from_glib_borrow(ptr as *mut T::InstanceStructType);