Version: 4.6 (using KDE 4.6.3) OS: Linux I decided to upgrade my libav libraries to 0.7_beta2 to test some new video filters, and now ffmpegthumbs does not compile anymore. There was an API change in libav-0.7 and it seems that ffmpegthumbs is not compliant with the new API. Compilation yields the following error: [ 50%] Building CXX object ffmpegthumbs/CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/filmstripfilter.o [ 66%] Building CXX object ffmpegthumbs/CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.o [ 83%] Building CXX object ffmpegthumbs/CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/imagewriter.o [100%] Building CXX object ffmpegthumbs/CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.o /var/tmp/portage/kde-base/ffmpegthumbs-4.6.3/work/ffmpegthumbs-4.6.3/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initializeVideo()’: /var/tmp/portage/kde-base/ffmpegthumbs-4.6.3/work/ffmpegthumbs-4.6.3/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:125: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope Reproducible: Always Steps to Reproduce: 1. emerge -1 =libav-0.7_beta2 2. emerge -1 ffmpegthumbs Actual Results: The error above Expected Results: Correct compilation of the package # emerge --info Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.2 Timestamp of tree: Wed, 01 Jun 2011 07:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.12.2 virtual/os-headers: 0
Ok. I will have a look on this.
Created attachment 60700 [details] Basic patch to fix This probably needs some ifdef work to be suitable for upstream, but the attached patch gets it building on Kubuntu for me with the new libav.
*** This bug has been marked as a duplicate of bug 276375 ***