allow set config err for android

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-05-20 16:23:00 +08:00
parent a11dee30ae
commit 1ae2ebaa8c
4 changed files with 18 additions and 10 deletions

View File

@@ -3,6 +3,7 @@
// https://github.com/rust-av/vpx-rs/blob/master/src/decoder.rs
use hbb_common::anyhow::{anyhow, Context};
use hbb_common::log;
use hbb_common::message_proto::{EncodedVideoFrame, EncodedVideoFrames, Message, VideoFrame};
use hbb_common::ResultType;
@@ -15,7 +16,7 @@ use hbb_common::bytes::Bytes;
use std::os::raw::{c_int, c_uint};
use std::{ptr, slice};
generate_call_macro!(call_vpx);
generate_call_macro!(call_vpx, false);
generate_call_ptr_macro!(call_vpx_ptr);
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]