video: fix visibility for VideoVBIEncoder::try_new

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1337>
This commit is contained in:
François Laignel 2023-10-11 17:53:43 +02:00 committed by Sebastian Dröge
parent f2a5960c36
commit d3e54789fe

View file

@ -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(