* [gentoo-commits] gentoo-x86 commit in media-video/vlc/files: 0001-Fix-build-with-x264-build-65.patch
@ 2008-10-08 6:31 Alexis Ballier (aballier)
0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2008-10-08 6:31 UTC (permalink / raw
To: gentoo-commits
aballier 08/10/08 06:31:19
Added: 0001-Fix-build-with-x264-build-65.patch
Log:
version bump
(Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64)
Revision Changes Path
1.1 media-video/vlc/files/0001-Fix-build-with-x264-build-65.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/files/0001-Fix-build-with-x264-build-65.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/files/0001-Fix-build-with-x264-build-65.patch?rev=1.1&content-type=text/plain
Index: 0001-Fix-build-with-x264-build-65.patch
===================================================================
From 34e7b423aa2800666e7b721617d7d73dd78e3c50 Mon Sep 17 00:00:00 2001
From: Alexis Ballier <aballier@gentoo.org>
Date: Sun, 5 Oct 2008 20:53:05 +0200
Subject: [PATCH] Fix build with x264 build 65
See http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=c89bc900a3bf0d4c4c728ad378703970b4f14e18 for more details.
---
modules/codec/x264.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index dc84bb0..d48bb0d 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -269,7 +269,12 @@ static void Close( vlc_object_t * );
#define SUBME_TEXT N_("Subpixel motion estimation and partition decision " \
"quality")
-#if X264_BUILD >= 46 /* r477 */
+#if X264_BUILD >= 65
+#define SUBME_MAX 9
+#define SUBME_LONGTEXT N_( "This parameter controls quality versus speed " \
+ "tradeoffs involved in the motion estimation decision process " \
+ "(lower = quicker and higher = better quality). Range 1 to 9." )
+#elif X264_BUILD >= 46 /* r477 */
#define SUBME_MAX 7
#define SUBME_LONGTEXT N_( "This parameter controls quality versus speed " \
"tradeoffs involved in the motion estimation decision process " \
@@ -589,7 +594,7 @@ vlc_module_begin();
change_integer_range( 1, SUBME_MAX );
add_deprecated_alias( SOUT_CFG_PREFIX "subpel" ); /* Deprecated since 0.8.5 */
-#if X264_BUILD >= 41 /* r368 */
+#if X264_BUILD >= 41 && X264_BUILD < 65 /* r368 */
add_bool( SOUT_CFG_PREFIX "b-rdo", 0, NULL, B_RDO_TEXT,
B_RDO_LONGTEXT, false );
#endif
@@ -604,7 +609,7 @@ vlc_module_begin();
CHROMA_ME_LONGTEXT, false );
#endif
-#if X264_BUILD >= 43 /* r390 */
+#if X264_BUILD >= 43 && X264_BUILD < 65 /* r390 */
add_bool( SOUT_CFG_PREFIX "bime", 0, NULL, BIME_TEXT,
BIME_LONGTEXT, false );
#endif
@@ -1082,7 +1087,7 @@ static int Open ( vlc_object_t *p_this )
p_sys->param.analyse.i_trellis = val.i_int;
#endif
-#if X264_BUILD >= 41
+#if X264_BUILD >= 41 && X264_BUILD < 65
var_Get( p_enc, SOUT_CFG_PREFIX "b-rdo", &val );
p_sys->param.analyse.b_bframe_rdo = val.b_bool;
#endif
@@ -1092,7 +1097,7 @@ static int Open ( vlc_object_t *p_this )
p_sys->param.analyse.b_fast_pskip = val.b_bool;
#endif
-#if X264_BUILD >= 43
+#if X264_BUILD >= 43 && X264_BUILD < 65
var_Get( p_enc, SOUT_CFG_PREFIX "bime", &val );
p_sys->param.analyse.b_bidir_me = val.b_bool;
#endif
--
1.6.0.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-08 6:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 6:31 [gentoo-commits] gentoo-x86 commit in media-video/vlc/files: 0001-Fix-build-with-x264-build-65.patch Alexis Ballier (aballier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox