diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-10-28 11:37:28 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-10-28 11:37:28 +0300 |
commit | f49ad82105090242f39d91799d3b2594ae0d9b73 (patch) | |
tree | eef96232379113be5a82bb119abe73a12b846ea8 /media-video | |
parent | eec3f21a04bd6ffff30137b87b27363057aa225f (diff) |
ffmpeg: mpv related shit
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/ffmpeg/ffmpeg-scm.ebuild | 4 | ||||
-rw-r--r-- | media-video/ffmpeg/files/4a98362b2b5daf7bb9c092404ac7e73e4f282963.diff | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/media-video/ffmpeg/ffmpeg-scm.ebuild b/media-video/ffmpeg/ffmpeg-scm.ebuild index 0f9d95f..58e9632 100644 --- a/media-video/ffmpeg/ffmpeg-scm.ebuild +++ b/media-video/ffmpeg/ffmpeg-scm.ebuild @@ -282,6 +282,10 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/libavutil/avconfig.h ) +PATCHES=( + "$FILESDIR"/4a98362b2b5daf7bb9c092404ac7e73e4f282963.diff +) + src_prepare() { if [[ "${PV%_p*}" != "${PV}" ]] ; then # Snapshot export revision=git-N-${FFMPEG_REVISION} diff --git a/media-video/ffmpeg/files/4a98362b2b5daf7bb9c092404ac7e73e4f282963.diff b/media-video/ffmpeg/files/4a98362b2b5daf7bb9c092404ac7e73e4f282963.diff new file mode 100644 index 0000000..92ef6ab --- /dev/null +++ b/media-video/ffmpeg/files/4a98362b2b5daf7bb9c092404ac7e73e4f282963.diff @@ -0,0 +1,13 @@ +diff --git a/libavcodec/version.h b/libavcodec/version.h +index 226da1935fe..fc5018efe99 100644 +--- a/libavcodec/version.h ++++ b/libavcodec/version.h +@@ -41,6 +41,8 @@ + + #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) + ++#define LIBAVCODEC_MPV 1 ++ + /** + * FF_API_* defines may be placed below to indicate public API that will be + * dropped at a future version bump. The defines themselves are not part of |