mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-11 03:35:26 +00:00
threadshare: Update for glib subclass API cleanups
This commit is contained in:
parent
9721b3e762
commit
39a75632c8
1 changed files with 6 additions and 5 deletions
|
@ -881,7 +881,7 @@ impl PadSink {
|
|||
let element =
|
||||
element.clone().dynamic_cast::<gst::Element>().unwrap();
|
||||
let delayed_fut = async move {
|
||||
let imp = <H::ElementImpl as ObjectSubclass>::from_instance(
|
||||
let imp = <H::ElementImpl as ObjectSubclassExt>::from_instance(
|
||||
element.unsafe_cast_ref(),
|
||||
);
|
||||
let this_ref =
|
||||
|
@ -921,7 +921,7 @@ impl PadSink {
|
|||
let element =
|
||||
element.clone().dynamic_cast::<gst::Element>().unwrap();
|
||||
let delayed_fut = async move {
|
||||
let imp = <H::ElementImpl as ObjectSubclass>::from_instance(
|
||||
let imp = <H::ElementImpl as ObjectSubclassExt>::from_instance(
|
||||
element.unsafe_cast_ref(),
|
||||
);
|
||||
let this_ref =
|
||||
|
@ -966,9 +966,10 @@ impl PadSink {
|
|||
let element =
|
||||
element.clone().dynamic_cast::<gst::Element>().unwrap();
|
||||
let delayed_fut = async move {
|
||||
let imp = <H::ElementImpl as ObjectSubclass>::from_instance(
|
||||
element.unsafe_cast_ref(),
|
||||
);
|
||||
let imp =
|
||||
<H::ElementImpl as ObjectSubclassExt>::from_instance(
|
||||
element.unsafe_cast_ref(),
|
||||
);
|
||||
let this_ref =
|
||||
this_weak.upgrade().ok_or(gst::FlowError::Flushing)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue