GNOME Bugzilla – Bug 582375
mpeg2dec not building in gst-plugins-ugly
Last modified: 2009-05-12 18:36:32 UTC
Please describe the problem: build fails (in ubuntu 8.04) with: Making all in mpeg2dec CC gstmpeg2dec.o gstmpeg2dec.c: In function ‘handle_slice’: gstmpeg2dec.c:944: error: ‘PIC_FLAG_REPEAT_FIRST_FIELD’ undeclared (first use in this function) gstmpeg2dec.c:944: error: (Each undeclared identifier is reported only once gstmpeg2dec.c:944: error: for each function it appears in.) make[3]: *** [libgstmpeg2dec_la-gstmpeg2dec.lo] Error 1 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: This may be helpful: http://www.mail-archive.com/libmpeg2-devel@lists.sourceforge.net/msg00193.html
here's my output from `wajig detail libmpeg2-4-dev` Package: libmpeg2-4-dev Priority: optional Section: universe/libdevel Installed-Size: 296 Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com> Original-Maintainer: Loic Minier <lool@dooz.org> Architecture: i386 Source: mpeg2dec Version: 0.4.1-1 Depends: libmpeg2-4 (= 0.4.1-1), libc6-dev | libc-dev, pkg-config Filename: pool/universe/m/mpeg2dec/libmpeg2-4-dev_0.4.1-1_i386.deb Size: 81092 MD5sum: 23f30e47b28b0817fc82a0883018ec39 SHA1: 19e3b307b0d85ac8f178b9e05477e0c7e8d74776 SHA256: 440c6533bf613c9fb15c99ff2d20b5d42f3c24381fb26f1a087abed33a0b65c0 Description: libmpeg2 development libraries and headers libmpeg2 is a library which can decode MPEG1 and MPEG2 video streams. . This package contains the libraries and headers required to compile programs which use libmpeg2. . http://libmpeg2.sourceforge.net/ Bugs: mailto:ubuntu-users@lists.ubuntu.com Origin: Ubuntu tristan@toc:~/gst-ffmpeg$ wajig detail libmpeg2-4-dev Package: libmpeg2-4-dev Priority: optional Section: universe/libdevel Installed-Size: 296 Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com> Original-Maintainer: Loic Minier <lool@dooz.org> Architecture: i386 Source: mpeg2dec Version: 0.4.1-1 Depends: libmpeg2-4 (= 0.4.1-1), libc6-dev | libc-dev, pkg-config Filename: pool/universe/m/mpeg2dec/libmpeg2-4-dev_0.4.1-1_i386.deb Size: 81092 MD5sum: 23f30e47b28b0817fc82a0883018ec39 SHA1: 19e3b307b0d85ac8f178b9e05477e0c7e8d74776 SHA256: 440c6533bf613c9fb15c99ff2d20b5d42f3c24381fb26f1a087abed33a0b65c0 Description: libmpeg2 development libraries and headers libmpeg2 is a library which can decode MPEG1 and MPEG2 video streams. . This package contains the libraries and headers required to compile programs which use libmpeg2. . http://libmpeg2.sourceforge.net/ Bugs: mailto:ubuntu-users@lists.ubuntu.com Origin: Ubuntu
same for me here.
commit fc1db23b8455f5c5d82bd0e9c88ca0e1821c021e Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue May 12 20:34:20 2009 +0200 mpeg2dec: work around old mpeg2dec versions The repeat first field flag was introduced in 0.5.0 so conditionally disable its detection and just assume no rff is used. This fixes the compilation. Fixes #582375