#[repr(C)]pub struct AVOutputFormat {
pub name: *const c_char,
pub long_name: *const c_char,
pub mime_type: *const c_char,
pub extensions: *const c_char,
pub audio_codec: AVCodecID,
pub video_codec: AVCodecID,
pub subtitle_codec: AVCodecID,
pub flags: c_int,
pub codec_tag: *const *const AVCodecTag,
pub priv_class: *const AVClass,
}
Expand description
@addtogroup lavf_encoding @{
Fields§
§name: *const c_char
§long_name: *const c_char
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 c_char
§extensions: *const c_char
< comma-separated filename extensions
audio_codec: AVCodecID
< default audio codec
video_codec: AVCodecID
< default video codec
subtitle_codec: AVCodecID
< default subtitle codec
flags: c_int
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
Source§impl PartialEq for AVOutputFormat
impl PartialEq for AVOutputFormat
impl Copy for AVOutputFormat
impl Eq for AVOutputFormat
impl StructuralPartialEq 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