From 7a3611f5caa5e34c1f2b582640f97b733110ae63 Mon Sep 17 00:00:00 2001 From: Parabola Date: Mon, 9 Jan 2012 13:47:51 +0000 Subject: Mon Jan 9 13:47:49 UTC 2012 --- extra/avidemux/avidemux-2.5.4-x264-build115.patch | 45 ----------------------- 1 file changed, 45 deletions(-) delete mode 100644 extra/avidemux/avidemux-2.5.4-x264-build115.patch (limited to 'extra/avidemux') diff --git a/extra/avidemux/avidemux-2.5.4-x264-build115.patch b/extra/avidemux/avidemux-2.5.4-x264-build115.patch deleted file mode 100644 index c627667ec..000000000 --- a/extra/avidemux/avidemux-2.5.4-x264-build115.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -ru avidemux_2.5.4.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp ---- avidemux_2.5.4.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp 2011-04-28 22:35:36.000000000 +0200 -+++ avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp 2011-04-28 22:40:26.000000000 +0200 -@@ -488,8 +488,10 @@ - printf("[x264] analyse.b_transform_8x8 = %d\n", x264Param->analyse.b_transform_8x8); - printf("[x264] analyse.inter = %d\n", x264Param->analyse.inter); - printf("[x264] b_cabac = %d\n", x264Param->b_cabac); --#if X264_BUILD > 101 -+#if X264_BUILD > 101 && X264_BUILD < 115 - printf("[x264] i_open_gop = %d\n", x264Param->i_open_gop); -+#elif X264_BUILD > 114 -+ printf("[x264] b_open_gop = %d\n", x264Param->b_open_gop); - #endif - printf("[x264] b_interlaced = %d\n", x264Param->b_interlaced); - #if X264_BUILD > 88 -diff -ru avidemux_2.5.4.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/x264Options.cpp avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/x264Options.cpp ---- avidemux_2.5.4.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/x264Options.cpp 2011-04-28 22:35:36.000000000 +0200 -+++ avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/x264Options.cpp 2011-04-28 22:43:36.000000000 +0200 -@@ -417,7 +417,7 @@ - _param.b_cabac = cabac; - } - --#if X264_BUILD > 101 -+#if X264_BUILD > 101 && X264_BUILD < 115 - unsigned int x264Options::getOpenGopMode(void) - { - return _param.i_open_gop; -@@ -428,6 +428,17 @@ - if (openGopMode < 3) - _param.i_open_gop = openGopMode; - } -+#elif X264_BUILD > 114 -+unsigned int x264Options::getOpenGopMode(void) -+{ -+ return _param.b_open_gop; -+} -+ -+void x264Options::setOpenGopMode(unsigned int openGopMode) -+{ -+ if (openGopMode < 3) -+ _param.b_open_gop = openGopMode; -+} - #endif - - unsigned int x264Options::getInterlaced(void) -- cgit v1.2.3-54-g00ecf