feat: Modify gst crate to add lot of more granularity
This commit is contained in:
@@ -20,6 +20,16 @@ impl Pad {
|
||||
inner: ghost_pad.upcast(),
|
||||
})
|
||||
}
|
||||
|
||||
pub fn link(&self, peer: &Pad) -> Result<()> {
|
||||
use gstreamer::prelude::*;
|
||||
self.inner
|
||||
.link(&peer.inner)
|
||||
.change_context(Error)
|
||||
.attach("Failed to link pads")?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn activate(&self, activate: bool) -> Result<()> {
|
||||
use gstreamer::prelude::*;
|
||||
self.inner
|
||||
|
||||
Reference in New Issue
Block a user