#[repr(C)]pub struct AVOutputFormat {
pub name: *const i8,
pub long_name: *const i8,
pub mime_type: *const i8,
pub extensions: *const i8,
pub audio_codec: u32,
pub video_codec: u32,
pub subtitle_codec: u32,
pub flags: i32,
pub codec_tag: *const *const AVCodecTag,
pub priv_class: *const AVClass,
}
Expand description
@addtogroup lavf_encoding @{
Fields§
§name: *const i8
§long_name: *const i8
Descriptive name for the format, meant to be more human-readable than name. You should use the NULL_IF_CONFIG_SMALL() macro to define it.
mime_type: *const i8
§extensions: *const i8
< comma-separated filename extensions
audio_codec: u32
< default audio codec
video_codec: u32
< default video codec
subtitle_codec: u32
< default subtitle codec
flags: i32
can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE
codec_tag: *const *const AVCodecTag
List of supported codec_id-codec_tag pairs, ordered by “better choice first”. The arrays are all terminated by AV_CODEC_ID_NONE.
priv_class: *const AVClass
< AVClass for the private context
Trait Implementations§
Source§impl Clone for AVOutputFormat
impl Clone for AVOutputFormat
Source§fn clone(&self) -> AVOutputFormat
fn clone(&self) -> AVOutputFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AVOutputFormat
impl Debug for AVOutputFormat
impl Copy for AVOutputFormat
Auto Trait Implementations§
impl Freeze for AVOutputFormat
impl RefUnwindSafe for AVOutputFormat
impl !Send for AVOutputFormat
impl !Sync for AVOutputFormat
impl Unpin for AVOutputFormat
impl UnwindSafe for AVOutputFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more