guvcview: update to 2.0.5.

This commit is contained in:
Juan RP 2017-02-09 06:20:01 +01:00
parent 4f299ead82
commit a92e74422b
2 changed files with 3 additions and 29 deletions

View file

@ -1,26 +0,0 @@
Index: gview_v4l2core/jpeg_decoder.c
===================================================================
--- gview_v4l2core/jpeg_decoder.c.orig
+++ 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: gview_v4l2core/uvc_h264.c
===================================================================
--- gview_v4l2core/uvc_h264.c.orig
+++ 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);

View file

@ -1,7 +1,7 @@
# Template file for 'guvcview'
pkgname=guvcview
version=2.0.4
revision=2
version=2.0.5
revision=1
wrksrc="${pkgname}-src-${version}"
build_style=gnu-configure
configure_args="--disable-static --disable-debian-menu"
@ -14,7 +14,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://guvcview.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}-src-${version}.tar.gz"
checksum=670ef45168a9b58d36ac42f09c498db5e56b76b0be25b0a6dc97528569334fa2
checksum=a86beb5993a8449ed3cbcc6ec2a238ef0b90138b6cbe2afab4456d37f44c41a0
post_extract() {
sed '31a#include <locale.h>' -i guvcview/guvcview.c