summaryrefslogtreecommitdiffstats
path: root/vlc/build/vlc-0.9.9_x264_obsolete_pre_scenecut.diff
blob: 4906cb0bb01faa48a528e6d7f248c1ade4b482b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Jean-Baptiste Kempf <jb@videolan.org>
Date: Wed, 11 Mar 2009 23:47:13 +0000 (+0100)
Subject: x264: obsolete pre-scenecut option.
X-Git-Tag: 1.0.0-pre1~133
X-Git-Url: http://git.videolan.org/?p=vlc.git;a=commitdiff_plain;h=d46728dff61b74e6cffd11615b7fa3a526075b0f

x264: obsolete pre-scenecut option.
---

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 0be0824..cfd7e8c 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -434,9 +434,13 @@ vlc_module_begin ()
                  SCENE_LONGTEXT, false )
         change_integer_range( -1, 100 )
 
-#if X264_BUILD >= 55 /* r607 */ && X264_BUILD < 67 /* r1117 */
+#if X264_BUILD >= 55 /* r607 */
+#  if X264_BUILD < 67 /* r1117 */
     add_bool( SOUT_CFG_PREFIX "pre-scenecut", 0, NULL, PRESCENE_TEXT,
               PRESCENE_LONGTEXT, false )
+#  else
+    add_obsolete_bool( "pre-scenecut" )
+#  endif
 #endif
 
     add_integer( SOUT_CFG_PREFIX "bframes", 0, NULL, BFRAMES_TEXT,