summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2009-11-17 03:54:02 +0000
committerOlivier Crête <tester@gentoo.org>2009-11-17 03:54:02 +0000
commit25f47549acfe0aee4cbeffc6e8fb7dcbd1dcf748 (patch)
treed83b55786875ab8b08d0089cc472921b9f9a65f1 /media-plugins/gst-plugins-x264/files
parentUnmask gst-plugins-x264 (diff)
downloadgentoo-2-25f47549acfe0aee4cbeffc6e8fb7dcbd1dcf748.tar.gz
gentoo-2-25f47549acfe0aee4cbeffc6e8fb7dcbd1dcf748.tar.bz2
gentoo-2-25f47549acfe0aee4cbeffc6e8fb7dcbd1dcf748.zip
Version bump
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/gst-plugins-x264/files')
-rw-r--r--media-plugins/gst-plugins-x264/files/gst-plugins-x264-0.10.13-x264-api-change-1.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-x264/files/gst-plugins-x264-0.10.13-x264-api-change-1.patch b/media-plugins/gst-plugins-x264/files/gst-plugins-x264-0.10.13-x264-api-change-1.patch
new file mode 100644
index 000000000000..c2746b189d1c
--- /dev/null
+++ b/media-plugins/gst-plugins-x264/files/gst-plugins-x264-0.10.13-x264-api-change-1.patch
@@ -0,0 +1,30 @@
+From 0a36965808ab9095dd68541f589fd71b66c99ca7 Mon Sep 17 00:00:00 2001
+From: Robert Swain <robert.swain@gmail.com>
+Date: Tue, 20 Oct 2009 20:00:44 +0100
+Subject: [PATCH 01/16] x264enc: Adapt to slightly modified x264 API
+
+Fixes #599095.
+---
+ ext/x264/gstx264enc.c | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
+index ed20154..ff0f0fa 100644
+--- a/ext/x264/gstx264enc.c
++++ b/ext/x264/gstx264enc.c
+@@ -582,7 +582,12 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
+ encoder->x264param.analyse.i_noise_reduction = encoder->noise_reduction;
+ encoder->x264param.i_frame_reference = encoder->ref;
+ encoder->x264param.i_bframe = encoder->bframes;
++#if X264_BUILD < 78
+ encoder->x264param.b_bframe_pyramid = encoder->b_pyramid;
++#else
++ encoder->x264param.i_bframe_pyramid =
++ encoder->b_pyramid ? X264_B_PYRAMID_NORMAL : X264_B_PYRAMID_NONE;
++#endif
+ #if X264_BUILD < 63
+ encoder->x264param.b_bframe_adaptive = encoder->b_adapt;
+ #else
+--
+1.6.4.4
+