summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authordrochner <drochner>2009-01-09 16:43:42 +0000
committerdrochner <drochner>2009-01-09 16:43:42 +0000
commit744ded7d3f0c9bf7e9cb3fe6a73588c46945d7f6 (patch)
treea1101f6b3f436ec7cdb9c743cb2c2199adb6ef9c /multimedia
parent3c731dda40df89e39de2e966805ebd0cad5a6ead (diff)
downloadpkgsrc-744ded7d3f0c9bf7e9cb3fe6a73588c46945d7f6.tar.gz
pull in a patch from upstream CVS, to adapt to an API change in recent
x264 libs, see Gnome bugzilla#555238 should fix PR pkg/40351 by Robert Elz
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gst-plugins0.10-bad/distinfo4
-rw-r--r--multimedia/gst-plugins0.10-bad/patches/patch-ab21
2 files changed, 19 insertions, 6 deletions
diff --git a/multimedia/gst-plugins0.10-bad/distinfo b/multimedia/gst-plugins0.10-bad/distinfo
index 0c2897c2310..362d3ba9ab3 100644
--- a/multimedia/gst-plugins0.10-bad/distinfo
+++ b/multimedia/gst-plugins0.10-bad/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2008/12/15 21:31:59 hasso Exp $
+$NetBSD: distinfo,v 1.10 2009/01/09 16:43:42 drochner Exp $
SHA1 (gst-plugins-bad-0.10.9.tar.bz2) = 67895310074f439f0504bea5bacc26d07be2cf5d
RMD160 (gst-plugins-bad-0.10.9.tar.bz2) = 98a2f901474afa21209c4cfdf453cb41fbf4305a
Size (gst-plugins-bad-0.10.9.tar.bz2) = 2323971 bytes
SHA1 (patch-aa) = a8b1f65424b76ead54553de6158d51a1ae58a8c2
-SHA1 (patch-ab) = eb851091bdf3c262383474bbe52e270520380f60
+SHA1 (patch-ab) = c7597c14bc0d30241859b958395b5a48e8324d40
SHA1 (patch-ac) = f83a2eb523f0af4f3b63df425123394354b92c64
diff --git a/multimedia/gst-plugins0.10-bad/patches/patch-ab b/multimedia/gst-plugins0.10-bad/patches/patch-ab
index 73d139a82a4..50c6a21d7a8 100644
--- a/multimedia/gst-plugins0.10-bad/patches/patch-ab
+++ b/multimedia/gst-plugins0.10-bad/patches/patch-ab
@@ -1,8 +1,21 @@
-$NetBSD: patch-ab,v 1.3 2008/10/30 21:21:32 wiz Exp $
+$NetBSD: patch-ab,v 1.4 2009/01/09 16:43:42 drochner Exp $
---- ext/x264/gstx264enc.c.orig 2008-10-10 23:13:43.000000000 +0000
+--- ext/x264/gstx264enc.c.orig 2008-12-21 21:54:04.000000000 +0100
+++ ext/x264/gstx264enc.c
-@@ -661,8 +661,7 @@ gst_x264_enc_header_buf (GstX264Enc * en
+@@ -541,7 +541,12 @@ gst_x264_enc_init_encoder (GstX264Enc *
+ encoder->x264param.i_frame_reference = encoder->ref;
+ encoder->x264param.i_bframe = encoder->bframes;
+ encoder->x264param.b_bframe_pyramid = encoder->b_pyramid;
++#if X264_BUILD < 63
+ encoder->x264param.b_bframe_adaptive = encoder->b_adapt;
++#else
++ encoder->x264param.i_bframe_adaptive =
++ encoder->b_adapt ? X264_B_ADAPT_FAST : X264_B_ADAPT_NONE;
++#endif
+ encoder->x264param.b_interlaced = encoder->interlaced;
+ encoder->x264param.b_deblocking_filter = 1;
+ encoder->x264param.i_deblocking_filter_alphac0 = 0;
+@@ -661,8 +666,7 @@ gst_x264_enc_header_buf (GstX264Enc * en
/* x264 is expected to return an SEI (some identification info),
* followed by an SPS and PPS */
if (i_nal != 3 || nal[1].i_type != 7 || nal[2].i_type != 8) {
@@ -12,7 +25,7 @@ $NetBSD: patch-ab,v 1.3 2008/10/30 21:21:32 wiz Exp $
return NULL;
}
-@@ -935,8 +934,7 @@ gst_x264_enc_encode_frame (GstX264Enc *
+@@ -935,8 +939,7 @@ gst_x264_enc_encode_frame (GstX264Enc *
duration = GST_BUFFER_DURATION (in_buf);
gst_buffer_unref (in_buf);
} else {