aboutsummaryrefslogtreecommitdiff
path: root/lib/xbmc-libav-hacks
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-02 09:49:34 -0400
committerAlexis Ballier <aballier@gentoo.org>2013-08-06 10:18:37 -0400
commit9b823073637516ad24afd08f04490db48b262a6f (patch)
treee27e03ed4fcec5a5ea3ab54b94a207367feeaada /lib/xbmc-libav-hacks
parentcbc86160fbc4095c142a19baf40bbe5724cfb721 (diff)
Move libav check for libavfilter being avframe based to libav_hacks.h
Diffstat (limited to 'lib/xbmc-libav-hacks')
-rw-r--r--lib/xbmc-libav-hacks/libav_hacks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xbmc-libav-hacks/libav_hacks.h b/lib/xbmc-libav-hacks/libav_hacks.h
index 46fa6c93fb..8ad39cb838 100644
--- a/lib/xbmc-libav-hacks/libav_hacks.h
+++ b/lib/xbmc-libav-hacks/libav_hacks.h
@@ -74,6 +74,8 @@ int swr_set_matrix(struct SwrContext *s, const double *matrix, int stride);
// libavfilter
+#define LIBAVFILTER_AVFRAME_BASED
+
typedef struct {
const enum AVPixelFormat *pixel_fmts; ///< list of allowed pixel formats, terminated by AV_PIX_FMT_NONE
} AVBufferSinkParams;