pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/vlc2
Module Name: pkgsrc
Committed By: markd
Date: Sat Jun 16 09:49:00 UTC 2018
Modified Files:
pkgsrc/multimedia/vlc2: Makefile distinfo
Added Files:
pkgsrc/multimedia/vlc2/patches: patch-modules_codec_x264.c
Log Message:
vlc2: Build with recent X264.
>From http://mail-index.netbsd.org/pkgsrc-users/2018/04/07/msg026468.html
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/multimedia/vlc2/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/multimedia/vlc2/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/multimedia/vlc2/patches/patch-modules_codec_x264.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/vlc2/Makefile
diff -u pkgsrc/multimedia/vlc2/Makefile:1.70 pkgsrc/multimedia/vlc2/Makefile:1.71
--- pkgsrc/multimedia/vlc2/Makefile:1.70 Wed Apr 25 22:39:02 2018
+++ pkgsrc/multimedia/vlc2/Makefile Sat Jun 16 09:48:59 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.70 2018/04/25 22:39:02 kamil Exp $
+# $NetBSD: Makefile,v 1.71 2018/06/16 09:48:59 markd Exp $
DISTNAME= vlc-${VLC_VERSION}
PKGNAME= ${DISTNAME:S/vlc/vlc2/}
+PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vlc/}
MASTER_SITES+= http://download.videolan.org/pub/videolan/vlc/${VLC_VERSION}/
Index: pkgsrc/multimedia/vlc2/distinfo
diff -u pkgsrc/multimedia/vlc2/distinfo:1.26 pkgsrc/multimedia/vlc2/distinfo:1.27
--- pkgsrc/multimedia/vlc2/distinfo:1.26 Wed Apr 25 22:39:02 2018
+++ pkgsrc/multimedia/vlc2/distinfo Sat Jun 16 09:49:00 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2018/04/25 22:39:02 kamil Exp $
+$NetBSD: distinfo,v 1.27 2018/06/16 09:49:00 markd Exp $
SHA1 (vlc-2.2.6.tar.xz) = d299dce6a5c94af4292657b6cb99c44654024f70
RMD160 (vlc-2.2.6.tar.xz) = b2727834bcbbf0d274e3a0b4a3317f3b914f9ad4
@@ -14,6 +14,7 @@ SHA1 (patch-include_vlc_atomic.h) = 3f3a
SHA1 (patch-modules_access_directory.c) = 95bc95cb7eb0bf44684c04d2cecc2c4e8339f0f7
SHA1 (patch-modules_access_file.c) = 22eb568aa5a1fea765e65a770432282024baaaf1
SHA1 (patch-modules_access_rtp_Makefile.am) = cd2c1bcbde8fc04c15f4030ff8708e32b800dd53
+SHA1 (patch-modules_codec_x264.c) = f2377f13f366c464505f751f97a4b8966888c88b
SHA1 (patch-modules_gui_qt4_components_controller.cpp) = 5822f018f910d1b0e441782ffeff193ebc35b6d2
SHA1 (patch-modules_gui_qt4_components_extended__panels.cpp) = eaa7a4732fa5a462d5769fc71e097366e5bc2f70
SHA1 (patch-modules_gui_qt4_components_interface__widgets.cpp) = b630de531ec90afd1f2aecc769f34952780b6ddb
Added files:
Index: pkgsrc/multimedia/vlc2/patches/patch-modules_codec_x264.c
diff -u /dev/null pkgsrc/multimedia/vlc2/patches/patch-modules_codec_x264.c:1.1
--- /dev/null Sat Jun 16 09:49:00 2018
+++ pkgsrc/multimedia/vlc2/patches/patch-modules_codec_x264.c Sat Jun 16 09:49:00 2018
@@ -0,0 +1,42 @@
+$NetBSD: patch-modules_codec_x264.c,v 1.1 2018/06/16 09:49:00 markd Exp $
+
+Build with recent X264.
+http://mail-index.netbsd.org/pkgsrc-users/2018/04/07/msg026468.html
+
+--- modules/codec/x264.c.orig 2015-04-13 19:54:35.000000000 +0000
++++ modules/codec/x264.c
+@@ -845,18 +845,13 @@ static int Open ( vlc_object_t *p_this
+ p_sys->i_colorspace = X264_CSP_I420;
+ #if X264_BUILD >= 118
+ char *psz_profile = var_GetString( p_enc, SOUT_CFG_PREFIX "profile" );
+- if( psz_profile )
+- {
+- const int mask = x264_bit_depth > 8 ? X264_CSP_HIGH_DEPTH : 0;
+-
+-
+ # ifdef MODULE_NAME_IS_x26410b
+- if( mask == 0)
+- {
+- msg_Err( p_enc, "Only high bith depth encoding supported, bit depth:%d", x264_bit_depth);
+- return VLC_EGENERIC;
+- }
++ const int mask = X264_CSP_HIGH_DEPTH;
++# else
++ const int mask = 0;
+ # endif
++ if( psz_profile )
++ {
+
+ if( !strcmp( psz_profile, "high10" ) )
+ {
+@@ -913,6 +908,10 @@ static int Open ( vlc_object_t *p_this
+ #else
+ x264_param_default( &p_sys->param );
+ x264_param_default_preset( &p_sys->param, psz_preset, psz_tune );
++# if X264_BUILD > 152
++ if( mask )
++ p_sys->param.i_bitdepth = 10;
++# endif
+ #endif
+ free( psz_preset );
+ free( psz_tune );
Home |
Main Index |
Thread Index |
Old Index