diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-13 19:20:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-15 02:37:40 +0200 |
commit | ef818d8bf07b0d05fcede6394a6fdc624890f2d0 (patch) | |
tree | 4db6fe9536ea60045eee1da594d9e68741bf2edc /libavformat/internal.h | |
parent | 2adcd15f2e02e240b31353285f9336a4cbab8274 (diff) | |
download | ffmpeg-ef818d8bf07b0d05fcede6394a6fdc624890f2d0.tar.gz |
avformat: add av_format_inject_global_side_data(), and disable it by default
After this commit applications needs to call av_format_inject_global_side_data()
or handle AVStream side data by some other means if they want it not to be lost.
This fixes a API incompatibility with libav.
libav API does not allow the data to be passed through AVPackets
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index f19cebf22e..e9e9293f87 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -52,6 +52,8 @@ struct AVFormatInternal { * Muxing only. */ int nb_interleaved_streams; + + int inject_global_side_data; }; #ifdef __GNUC__ |