summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-24 15:07:43 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-24 15:07:51 +0100
commitc8c405ad77d6dfa0b77463218032affafce846ce (patch)
tree31310040786ba85fd71ec1f8ad3f5f2cfdc9b6f9 /media-video/guvcview/files
parentsys-apps/sdparm: Removed old. (diff)
downloadgentoo-c8c405ad77d6dfa0b77463218032affafce846ce.tar.gz
gentoo-c8c405ad77d6dfa0b77463218032affafce846ce.tar.bz2
gentoo-c8c405ad77d6dfa0b77463218032affafce846ce.zip
media-video/guvcview: bump to 2.0.3, add qt5 useflag and fix build with ffmpeg3.
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-video/guvcview/files')
-rw-r--r--media-video/guvcview/files/ffmpeg3.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-video/guvcview/files/ffmpeg3.patch b/media-video/guvcview/files/ffmpeg3.patch
new file mode 100644
index 000000000000..5397d68834af
--- /dev/null
+++ b/media-video/guvcview/files/ffmpeg3.patch
@@ -0,0 +1,26 @@
+Index: guvcview-src-2.0.3/gview_v4l2core/jpeg_decoder.c
+===================================================================
+--- guvcview-src-2.0.3.orig/gview_v4l2core/jpeg_decoder.c
++++ guvcview-src-2.0.3/gview_v4l2core/jpeg_decoder.c
+@@ -1436,7 +1436,7 @@ int jpeg_init_decoder(int width, int hei
+ exit(-1);
+ }
+
+- codec_data->context->pix_fmt = PIX_FMT_YUV422P;
++ codec_data->context->pix_fmt = AV_PIX_FMT_YUV422P;
+ codec_data->context->width = width;
+ codec_data->context->height = height;
+ //jpeg_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);
+Index: guvcview-src-2.0.3/gview_v4l2core/uvc_h264.c
+===================================================================
+--- guvcview-src-2.0.3.orig/gview_v4l2core/uvc_h264.c
++++ guvcview-src-2.0.3/gview_v4l2core/uvc_h264.c
+@@ -970,7 +970,7 @@ int h264_init_decoder(int width, int hei
+ }
+
+ h264_ctx->context->flags2 |= CODEC_FLAG2_FAST;
+- h264_ctx->context->pix_fmt = PIX_FMT_YUV420P;
++ h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P;
+ h264_ctx->context->width = width;
+ h264_ctx->context->height = height;
+ //h264_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);