mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
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 {
|
impl VideoVBIEncoder {
|
||||||
#[doc(alias = "gst_video_vbi_encoder_new")]
|
#[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!();
|
skip_assert_initialized!();
|
||||||
let res: Option<VideoVBIEncoderInner> = unsafe {
|
let res: Option<VideoVBIEncoderInner> = unsafe {
|
||||||
from_glib_full(ffi::gst_video_vbi_encoder_new(
|
from_glib_full(ffi::gst_video_vbi_encoder_new(
|
||||||
|
|
Loading…
Reference in a new issue