[FFmpeg-devel] [PATCH v3 06/25] avcodec/avcodec, avformat/movenc: introduced AV_PKT_DATA_TRACK_ALTERNATE_GROUP side data for expressing alternate groups

Michael Niedermayer michael at niedermayer.cc
Sat Dec 17 20:31:37 EET 2016


On Mon, Sep 19, 2016 at 04:25:29PM +0300, Erkki Seppälä wrote:
> Alternate groups previously always generated for ISO media files. With
> this addition client code can define track groups arbitrarily.
> 
> Signed-off-by: Erkki Seppälä <erkki.seppala.ext at nokia.com>
> Signed-off-by: OZOPlayer <OZOPL at nokia.com>
> ---
>  libavcodec/avcodec.h | 11 +++++++++++
>  libavformat/movenc.c |  9 +++++++++
>  2 files changed, 20 insertions(+)

patches/commits should only touch oen lib at a time


> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 56bb9b0..3be54d4 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -1543,6 +1543,17 @@ enum AVPacketSideDataType {
>       * indicated by the key's length.
>       */
>      AV_PKT_DATA_TRACK_REFERENCES,
> +
> +    /**
> +     * Assign alternate groups for tracks. An example of alternate
> +     * groups would be audio tracks (or video tracks) that are
> +     * alternative to each other. Each alternative track shares the
> +     * same non-zero alternate group.
> +     *
> +     * The content is:
> +     * uint: The alternate group of this track
> +     */
> +    AV_PKT_DATA_TRACK_ALTERNATE_GROUP,
>  };

this requires version bump and APIChanges update


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- 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/20161217/26089eef/attachment.sig>


More information about the ffmpeg-devel mailing list