diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2013-10-18 21:50:08 -0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-06 13:39:55 +0100 |
commit | ef68cfcc8a1f0179bbdade48225907a881ba0abd (patch) | |
tree | 0aaf123b11b45024798a8935d4b2d23a17d73b2d /old-configure | |
parent | e6861ca51faac5b918c798e259854aa6a622dae7 (diff) | |
download | mpv-ef68cfcc8a1f0179bbdade48225907a881ba0abd.tar.bz2 mpv-ef68cfcc8a1f0179bbdade48225907a881ba0abd.tar.xz |
demux_lavf: get updated metadata from a packet if available
The side_data type is brand new in ffmpeg.
Diffstat (limited to 'old-configure')
-rwxr-xr-x | old-configure | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/old-configure b/old-configure index 8dffab00f7..c26c7742cf 100755 --- a/old-configure +++ b/old-configure @@ -2750,6 +2750,17 @@ fi echores "$_avcodec_has_chroma_pos_api" +echocheck "libavcodec metadata update side data" +_avcodec_has_metadata_update_side_data=no +statement_check libavcodec/avcodec.h 'enum AVPacketSideDataType type = AV_PKT_DATA_METADATA_UPDATE' && _avcodec_has_metadata_update_side_data=yes +if test "$_avcodec_has_metadata_update_side_data" = yes ; then + def_avcodec_has_metadata_update_side_data='#define HAVE_AVCODEC_METADATA_UPDATE_SIDE_DATA 1' +else + def_avcodec_has_metadata_update_side_data='#define HAVE_AVCODEC_METADATA_UPDATE_SIDE_DATA 0' +fi +echores "$_avcodec_has_metadata_update_side_data" + + echocheck "libavutil QP API" _avutil_has_qp_api=no statement_check libavutil/frame.h 'av_frame_get_qp_table(NULL, NULL, NULL)' && _avutil_has_qp_api=yes @@ -3454,6 +3465,7 @@ $def_avutil_has_refcounting $def_avutil_has_qp_api $def_avcodec_new_vdpau_api $def_avcodec_has_chroma_pos_api +$def_avcodec_has_metadata_update_side_data $def_libpostproc $def_libavdevice $def_libavfilter |