Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't find a const val AV_CODEC_CAP_ENCODER_RECON_FRAME #59

Open
yollpoll opened this issue Jul 10, 2023 · 0 comments
Open

can't find a const val AV_CODEC_CAP_ENCODER_RECON_FRAME #59

yollpoll opened this issue Jul 10, 2023 · 0 comments

Comments

@yollpoll
Copy link

here is my code:
`use bitflags::bitflags;
use crate::ffi::*;
use libc::c_uint;

bitflags! {
pub struct Capabilities: c_uint {
const DRAW_HORIZ_BAND = AV_CODEC_CAP_DRAW_HORIZ_BAND;
const DR1 = AV_CODEC_CAP_DR1;
const DELAY = AV_CODEC_CAP_DELAY;
const SMALL_LAST_FRAME = AV_CODEC_CAP_SMALL_LAST_FRAME;
const SUBFRAMES = AV_CODEC_CAP_SUBFRAMES;
const EXPERIMENTAL = AV_CODEC_CAP_EXPERIMENTAL;
const CHANNEL_CONF = AV_CODEC_CAP_CHANNEL_CONF;
const FRAME_THREADS = AV_CODEC_CAP_FRAME_THREADS;
const SLICE_THREADS = AV_CODEC_CAP_SLICE_THREADS;
const PARAM_CHANGE = AV_CODEC_CAP_PARAM_CHANGE;
const OTHER_THREADS = AV_CODEC_CAP_OTHER_THREADS;
const VARIABLE_FRAME_SIZE = AV_CODEC_CAP_VARIABLE_FRAME_SIZE;
const AVOID_PROBING = AV_CODEC_CAP_AVOID_PROBING;
const HARDWARE = AV_CODEC_CAP_HARDWARE;
const HYBRID = AV_CODEC_CAP_HYBRID;
const ENCODER_REORDERED_OPAQUE = AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE;
const ENCODER_FLUSH = AV_CODEC_CAP_ENCODER_FLUSH;
const ENCODER_RECON_FRAME = AV_CODEC_CAP_ENCODER_RECON_FRAME;
}
}`
the 'AV_CODEC_CAP_ENCODER_RECON_FRAME' couldn't been found, is there something wrong in my project or env?
my sys is windows10 and ffmepg libraries's version is 5.1.2 installed by vcpkg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant