codec/encoder/video: add missing feature flag (quant_bias)
This commit is contained in:
parent
e4fcdad658
commit
859c01f268
@ -291,6 +291,7 @@ impl Video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
#[cfg(feature = "ff_api_quant_bias")]
|
||||||
pub fn set_intra_quant_bias(&mut self, value: Option<usize>) {
|
pub fn set_intra_quant_bias(&mut self, value: Option<usize>) {
|
||||||
unsafe {
|
unsafe {
|
||||||
if let Some(value) = value {
|
if let Some(value) = value {
|
||||||
@ -303,6 +304,7 @@ impl Video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
#[cfg(feature = "ff_api_quant_bias")]
|
||||||
pub fn set_inter_quant_bias(&mut self, value: Option<usize>) {
|
pub fn set_inter_quant_bias(&mut self, value: Option<usize>) {
|
||||||
unsafe {
|
unsafe {
|
||||||
if let Some(value) = value {
|
if let Some(value) = value {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user