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 /ffplay.c | |
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 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2752,6 +2752,8 @@ static int read_thread(void *arg) if (genpts) ic->flags |= AVFMT_FLAG_GENPTS; + av_format_inject_global_side_data(ic); + opts = setup_find_stream_info_opts(ic, codec_opts); orig_nb_streams = ic->nb_streams; |