unsafe extern "C" fn video_encoder_open<T: VideoEncoderImpl>( ptr: *mut GstVideoEncoder, ) -> gboolean