pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins0.10-bad pull in a patch from up...
details: https://anonhg.NetBSD.org/pkgsrc/rev/79fbe76e4950
branches: trunk
changeset: 552803:79fbe76e4950
user: drochner <drochner%pkgsrc.org@localhost>
date: Fri Jan 09 16:43:42 2009 +0000
description:
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:
multimedia/gst-plugins0.10-bad/distinfo | 4 ++--
multimedia/gst-plugins0.10-bad/patches/patch-ab | 21 +++++++++++++++++----
2 files changed, 19 insertions(+), 6 deletions(-)
diffs (51 lines):
diff -r 68bacb61972d -r 79fbe76e4950 multimedia/gst-plugins0.10-bad/distinfo
--- a/multimedia/gst-plugins0.10-bad/distinfo Fri Jan 09 16:21:47 2009 +0000
+++ b/multimedia/gst-plugins0.10-bad/distinfo Fri Jan 09 16:43:42 2009 +0000
@@ -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 -r 68bacb61972d -r 79fbe76e4950 multimedia/gst-plugins0.10-bad/patches/patch-ab
--- a/multimedia/gst-plugins0.10-bad/patches/patch-ab Fri Jan 09 16:21:47 2009 +0000
+++ b/multimedia/gst-plugins0.10-bad/patches/patch-ab Fri Jan 09 16:43:42 2009 +0000
@@ -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 @@
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 {
Home |
Main Index |
Thread Index |
Old Index