forked from mirrors/gstreamer-rs
video: fix visibility for VideoVBIEncoder::try_new
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1323>
This commit is contained in:
parent
547cfb44e2
commit
4c8d16d09e
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ impl VideoAFDDescriptionMode {
|
|||
|
||||
impl VideoVBIEncoder {
|
||||
#[doc(alias = "gst_video_vbi_encoder_new")]
|
||||
fn try_new(format: VideoFormat, pixel_width: u32) -> Result<VideoVBIEncoder, VideoVBIError> {
|
||||
pub fn try_new(
|
||||
format: VideoFormat,
|
||||
pixel_width: u32,
|
||||
) -> Result<VideoVBIEncoder, VideoVBIError> {
|
||||
skip_assert_initialized!();
|
||||
let res: Option<VideoVBIEncoderInner> = unsafe {
|
||||
from_glib_full(ffi::gst_video_vbi_encoder_new(
|
||||
|
|
Loading…
Reference in a new issue