mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 00:19:46 +00:00
WIP
This commit is contained in:
parent
497232ee59
commit
0df97dce02
1 changed files with 1 additions and 3 deletions
|
@ -72,8 +72,6 @@ fn main() {
|
|||
let stream: id = msg_send![stream, initWithFilter: filter configuration: config delegate: nil];
|
||||
let error: id = nil;
|
||||
let _: () = msg_send![stream, addStreamOutput: output type: 0 sampleHandlerQueue: dispatch_get_main_queue() error: &error];
|
||||
println!("Added stream output... error? {}", string_from_objc(msg_send![error, localizedDescription]));
|
||||
|
||||
|
||||
let start_capture_completion = ConcreteBlock::new(move |error: id| {
|
||||
if !error.is_null() {
|
||||
|
@ -81,7 +79,7 @@ fn main() {
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
println!("starting capture");
|
||||
});
|
||||
|
||||
assert!(!stream.is_null());
|
||||
|
|
Loading…
Reference in a new issue