summaryrefslogtreecommitdiffstats
path: root/old-configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-03 17:29:53 +0200
committerwm4 <wm4@nowhere>2014-10-03 23:03:22 +0200
commitcf2add4ff98c71b125ddbff041a85b8fe3b4cc5b (patch)
treef151fdfae50b374ea37be2c47a677b9ce0486dc5 /old-configure
parenta037313c1092e9a9a3d94085a83954c477076ab0 (diff)
downloadmpv-cf2add4ff98c71b125ddbff041a85b8fe3b4cc5b.tar.bz2
mpv-cf2add4ff98c71b125ddbff041a85b8fe3b4cc5b.tar.xz
audio: skip samples and adjust timestamps ourselves
This gets rid of this warning: Could not update timestamps for skipped samples. This required an API addition to FFmpeg (otherwise it would instead doing arithmetic on the timestamps itself), so whether it works depends on the FFmpeg version.
Diffstat (limited to 'old-configure')
-rwxr-xr-xold-configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/old-configure b/old-configure
index a0cd853a6d..bd31bfc1c1 100755
--- a/old-configure
+++ b/old-configure
@@ -829,6 +829,12 @@ api_statement_check \
'av_frame_get_metadata(NULL)'
api_statement_check \
+ "libavutil AVFrame skip samples metadata" \
+ HAVE_AVFRAME_SKIP_SAMPLES \
+ libavutil/frame.h \
+ 'enum AVFrameSideDataType type = AV_FRAME_DATA_SKIP_SAMPLES'
+
+api_statement_check \
"libavutil QP API" \
HAVE_AVUTIL_QP_API \
libavutil/frame.h \