Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2014 04:12:21 GMT
From:      Kenta S <kentas@hush.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185381: [patch] enable hi10p encoding in multimedia/x264
Message-ID:  <201401010412.s014CLAH019228@oldred.freebsd.org>
Resent-Message-ID: <201401010420.s014K0lM079038@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185381
>Category:       ports
>Synopsis:       [patch] enable hi10p encoding in multimedia/x264
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 01 04:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Kenta S
>Release:        9.2-RELEASE
>Organization:
>Environment:
>Description:
The multimedia/x264 is currently forcing 8bit encoding.
This patch lets the user decide which one to use.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2013-12-31 23:09:14.000000000 -0500
+++ Makefile	2013-12-31 23:08:38.000000000 -0500
@@ -32,10 +32,11 @@
 USE_LDCONFIG=	yes
 HAS_CONFIGURE=	yes
 
-OPTIONS_DEFINE=		ASM DEBUG PGO GCC GPAC X11_OUTPUT
+OPTIONS_DEFINE=		ASM DEBUG HI10P PGO GCC GPAC X11_OUTPUT
 OPTIONS_DEFAULT=	ASM GPAC
 ASM_DESC=		Enable Assembly Optimizations
 GCC_DESC=		Use current GCC
+HI10P_DESC=		Enable Hi10P 10-bit encoding
 GPAC_DESC=		Enable MPEG-4 Output
 X11_OUTPUT_DESC=	Enable X11 Output
 
@@ -58,6 +59,10 @@
 CONFIGURE_ARGS+=	--disable-asm
 .endif
 
+.if !${PORT_OPTIONS:HI10P}
+CONFIGURE_ARGS+=        --bit-depth=10
+.endif
+
 .if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG)
 CONFIGURE_ARGS+=	--enable-debug
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



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