#[repr(C)]pub struct AVStreamGroup {
pub av_class: *const AVClass,
pub priv_data: *mut c_void,
pub index: u32,
pub id: i64,
pub type_: u32,
pub params: AVStreamGroup__bindgen_ty_1,
pub metadata: *mut AVDictionary,
pub nb_streams: u32,
pub streams: *mut *mut AVStream,
pub disposition: i32,
}
Fields§
§av_class: *const AVClass
A class for @ref avoptions. Set by avformat_stream_group_create().
priv_data: *mut c_void
§index: u32
Group index in AVFormatContext.
id: i64
Group type-specific group ID.
decoding: set by libavformat encoding: may set by the user
type_: u32
Group type
decoding: set by libavformat on group creation encoding: set by avformat_stream_group_create()
params: AVStreamGroup__bindgen_ty_1
§metadata: *mut AVDictionary
Metadata that applies to the whole group.
- demuxing: set by libavformat on group creation
- muxing: may be set by the caller before avformat_write_header()
Freed by libavformat in avformat_free_context().
nb_streams: u32
Number of elements in AVStreamGroup.streams.
Set by avformat_stream_group_add_stream() must not be modified by any other code.
streams: *mut *mut AVStream
A list of streams in the group. New entries are created with avformat_stream_group_add_stream().
- demuxing: entries are created by libavformat on group creation. If AVFMTCTX_NOHEADER is set in ctx_flags, then new entries may also appear in av_read_frame().
- muxing: entries are created by the user before avformat_write_header().
Freed by libavformat in avformat_free_context().
disposition: i32
Stream group disposition - a combination of AV_DISPOSITION_* flags. This field currently applies to all defined AVStreamGroupParamsType.
- demuxing: set by libavformat when creating the group or in avformat_find_stream_info().
- muxing: may be set by the caller before avformat_write_header().
Trait Implementations§
Source§impl Clone for AVStreamGroup
impl Clone for AVStreamGroup
Source§fn clone(&self) -> AVStreamGroup
fn clone(&self) -> AVStreamGroup
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more