diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-09-08 23:58:52 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-09-09 00:04:43 +0200 |
commit | ed670c23c665f341bdd8bfd39f7c13a71ee59a81 (patch) | |
tree | fbc17635c2a931d780e32a24c7a6d32b6641f59b /media-libs/libde265/files/libde265-1.0.3-use-new-FFMPEG-enum-names.patch | |
parent | media-libs/libde265: update live ebuild (diff) | |
download | gentoo-ed670c23c665f341bdd8bfd39f7c13a71ee59a81.tar.gz gentoo-ed670c23c665f341bdd8bfd39f7c13a71ee59a81.tar.bz2 gentoo-ed670c23c665f341bdd8bfd39f7c13a71ee59a81.zip |
media-libs/libde265: bump to v1.0.3
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'media-libs/libde265/files/libde265-1.0.3-use-new-FFMPEG-enum-names.patch')
-rw-r--r-- | media-libs/libde265/files/libde265-1.0.3-use-new-FFMPEG-enum-names.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/libde265/files/libde265-1.0.3-use-new-FFMPEG-enum-names.patch b/media-libs/libde265/files/libde265-1.0.3-use-new-FFMPEG-enum-names.patch new file mode 100644 index 000000000000..33e73c15a93f --- /dev/null +++ b/media-libs/libde265/files/libde265-1.0.3-use-new-FFMPEG-enum-names.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/575554 + +From e5b8e2e703d608777afadc54955bd396e4211da0 Mon Sep 17 00:00:00 2001 +From: Dirk Farin <farin@struktur.de> +Date: Thu, 19 Apr 2018 13:15:18 +0200 +Subject: [PATCH] use new FFMPEG enum names + +--- + sherlock265/VideoDecoder.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sherlock265/VideoDecoder.cc b/sherlock265/VideoDecoder.cc +index 119f6152..b829e1c7 100644 +--- a/sherlock265/VideoDecoder.cc ++++ b/sherlock265/VideoDecoder.cc +@@ -237,7 +237,7 @@ void VideoDecoder::convert_frame_swscale(const de265_image* img, QImage & qimg) + } + width = img->get_width(); + height = img->get_height(); +- sws = sws_getContext(width, height, PIX_FMT_YUV420P, width, height, PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL); ++ sws = sws_getContext(width, height, AV_PIX_FMT_YUV420P, width, height, AV_PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL); + } + + int stride[3]; |