forked from mirrors/gstreamer-rs
video: fix visibility for VideoVBIEncoder::try_new
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1337>
This commit is contained in:
parent
f2a5960c36
commit
d3e54789fe
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