av_new_stream

Add a new stream to a media file.

Can only be called in the read_header() function. If the flag AVFMTCTX_NOHEADER is in the format context, then new streams can be added in read_packet too.

@param s media file handle @param id file-format-dependent stream ID

@nogc nothrow extern (C) deprecated
static if(FF_API_NEW_STREAM)
av_new_stream

Meta