summaryrefslogtreecommitdiff
path: root/media-video/guvcview/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-27 11:51:08 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-27 11:51:08 +0000
commit26d89e1bde0053192d8cab360c89e52f207e2937 (patch)
treee2e88ac98dab69be7ab1b81c3748f3920079e48b /media-video/guvcview/files
parent443a5a7f5bccc292da9b22ef651fc12fab4038e4 (diff)
media-video/guvcview : use icon from theme
Diffstat (limited to 'media-video/guvcview/files')
-rw-r--r--media-video/guvcview/files/ffmpeg3.patch26
-rw-r--r--media-video/guvcview/files/guvcview-use-theme-icon.patch12
2 files changed, 38 insertions, 0 deletions
diff --git a/media-video/guvcview/files/ffmpeg3.patch b/media-video/guvcview/files/ffmpeg3.patch
new file mode 100644
index 00000000..5397d688
--- /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);
diff --git a/media-video/guvcview/files/guvcview-use-theme-icon.patch b/media-video/guvcview/files/guvcview-use-theme-icon.patch
new file mode 100644
index 00000000..eacc5747
--- /dev/null
+++ b/media-video/guvcview/files/guvcview-use-theme-icon.patch
@@ -0,0 +1,12 @@
+diff -Nur a/data/guvcview.desktop.in.in b/data/guvcview.desktop.in.in
+--- a/data/guvcview.desktop.in.in 2017-02-08 16:04:21.000000000 +0000
++++ b/data/guvcview.desktop.in.in 2018-01-27 11:44:55.801092448 +0000
+@@ -5,7 +5,7 @@
+ _Comment=A video viewer and capturer for the linux uvc driver
+ TryExec=guvcview
+ Exec=guvcview
+-Icon=@prefix@/share/pixmaps/guvcview/guvcview.png
++Icon=guvcview
+ Terminal=false
+ Type=Application
+ Categories=Video;AudioVideo;