[FFmpeg-devel] [PATCH 3/8] lavf/mux: add avformat_init_output
Michael Niedermayer
michael at niedermayer.cc
Fri Apr 8 12:59:57 CEST 2016
On Thu, Apr 07, 2016 at 07:38:04PM -0500, Rodger Combs wrote:
> This allows a consumer to run the muxer's init function without actually
> writing the header, which is useful in chained muxers that support
> automatic bitstream filtering.
> ---
> libavformat/avformat.h | 30 +++++++++++++++++++++++--
> libavformat/internal.h | 10 +++++++++
> libavformat/mux.c | 59 +++++++++++++++++++++++++++++++++++++++-----------
> libavformat/version.h | 2 +-
> 4 files changed, 85 insertions(+), 16 deletions(-)
>
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index 3b41b57..908d3d1 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -616,6 +616,8 @@ typedef struct AVOutputFormat {
> * AVStream parameters that need to be set before packets are sent.
> * This method must not write output.
> *
> + * Return 0 if streams were fully configured, 1 if not, negative AVERROR on failure
this should use named identifers like (names just random, no preferrance
on my side ...)
#define ALL_STREAMS_CONFIGURED 0
#define NOT_ALL_STREAMS_CONFIGURED 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160408/dc2bf276/attachment.sig>
More information about the ffmpeg-devel
mailing list