filter/sink: add set_frame_size()
This commit is contained in:
parent
29450c4260
commit
d1e693965c
@ -31,4 +31,10 @@ impl<'a> Sink<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn set_frame_size(&mut self, value: u32) {
|
||||||
|
unsafe {
|
||||||
|
av_buffersink_set_frame_size(self.ctx.as_mut_ptr(), value);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user