Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2020 22:16:12 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556535 - head/multimedia/arcan/files
Message-ID:  <202011282216.0ASMGCD9081710@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Nov 28 22:16:11 2020
New Revision: 556535
URL: https://svnweb.freebsd.org/changeset/ports/556535

Log:
  multimedia/arcan: drop libuvc workaround after r556534
  
  PR:		251428

Modified:
  head/multimedia/arcan/files/patch-system-libuvc   (contents, props changed)

Modified: head/multimedia/arcan/files/patch-system-libuvc
==============================================================================
--- head/multimedia/arcan/files/patch-system-libuvc	Sat Nov 28 22:15:31 2020	(r556534)
+++ head/multimedia/arcan/files/patch-system-libuvc	Sat Nov 28 22:16:11 2020	(r556535)
@@ -39,29 +39,3 @@
  		)
  		set(DECODE_SOURCES
  			${DECODE_SOURCES}
---- frameserver/decode/default/uvc_support.c.orig	2020-11-24 21:15:29 UTC
-+++ frameserver/decode/default/uvc_support.c
-@@ -145,7 +145,9 @@ static void callback(uvc_frame_t* frame, void* tag)
-  * though at least the capture devices I have used this one had the
-  * YUYV frame format have the same output as NV12 /facepalm */
- 	case UVC_FRAME_FORMAT_YUYV:
-+#ifdef UVC_COLOR_FORMAT_NV12
- 	case UVC_FRAME_FORMAT_NV12:
-+#endif
- 		run_swscale(frame, cont, 2, AV_PIX_FMT_NV12);
- 	break;
- 	case UVC_FRAME_FORMAT_UYVY:
-@@ -185,11 +187,13 @@ static int fmt_score(const uint8_t fourcc[static 4], i
- 			.enumv = UVC_FRAME_FORMAT_GRAY8,
- 			.score = 1
- 		},
-+#ifdef UVC_COLOR_FORMAT_NV12
- 		{
-       .fourcc = {'N',  'V',  '1',  '2'},
- 			.enumv = UVC_FRAME_FORMAT_NV12,
- 			.score = 3
- 		},
-+#endif
- /* this does not seem to have the 'right' fourcc? */
- 		{
- 			.fourcc = {0x7d, 0xeb, 0x36, 0xe4},



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011282216.0ASMGCD9081710>