Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 16:22:25 +0200
From:      Johannes Groedem <johs+n@ifi.uio.no>
To:        freebsd-gnome@freebsd.org
Subject:   gst-plugins-0.8.1 build problem (and fix)
Message-ID:  <lzu0ycsdi6.fsf@unity.copyleft.no>

next in thread | raw e-mail | index | archive | help
--=-=-=

The version of libmpeg that is built on my system (0.3.1_1) has a
sequence_t type in mpeg2.h instead of mpeg2_sequence_t, so the
gst-plugins build fails.

The file in question is gst2mpeg2dec.c in ext/mpeg2dec.  Here's a
patch:

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=gstmpeg2dec.c.patch

--- gstmpeg2dec.c~	Wed May 19 16:18:21 2004
+++ gstmpeg2dec.c	Wed May 19 16:18:29 2004
@@ -350,7 +350,7 @@ gst_mpeg2dec_negotiate_format (GstMpeg2d
   guint32 fourcc, myFourcc;
   gboolean ret;
   const mpeg2_info_t *info;
-  const mpeg2_sequence_t *sequence;
+  const sequence_t *sequence;
 
   if (!GST_PAD_IS_LINKED (mpeg2dec->srcpad)) {
     mpeg2dec->format = MPEG2DEC_FORMAT_I420;

--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

-- 
Johannes Grødem <OpenPGP: 5055654C>

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lzu0ycsdi6.fsf>