Here's a patch that fixes the build failure. It has not been
functionally tested yet though.

** Description changed:

  Binary package hint: mediatomb
+ 
+ Note you won't even get to this build failure until you at least have
+ the fix for gcc-4.6 support applied
+ (https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/770964)
  
  Unrelated proposed changes for mediatomb have suddenly started failing to 
build for oneiric over the last couple of weeks with:
  ../src/metadata/ffmpeg_handler.cc: In function 'void 
addFfmpegMetadataFields(zmm::Ref<CdsItem>, AVFormatContext*)':
  ../src/metadata/ffmpeg_handler.cc:92:25: error: 'AVFormatContext' has no 
member named 'title'
  ../src/metadata/ffmpeg_handler.cc:94:6: error: 'AVFormatContext' has no 
member named 'title'
  ../src/metadata/ffmpeg_handler.cc:96:51: error: 'AVFormatContext' has no 
member named 'title'
  ../src/metadata/ffmpeg_handler.cc:98:25: error: 'AVFormatContext' has no 
member named 'author'
  ../src/metadata/ffmpeg_handler.cc:100:6: error: 'AVFormatContext' has no 
member named 'author'
  ../src/metadata/ffmpeg_handler.cc:102:51: error: 'AVFormatContext' has no 
member named 'author'
  ../src/metadata/ffmpeg_handler.cc:104:25: error: 'AVFormatContext' has no 
member named 'album'
  ../src/metadata/ffmpeg_handler.cc:106:6: error: 'AVFormatContext' has no 
member named 'album'
  ../src/metadata/ffmpeg_handler.cc:108:51: error: 'AVFormatContext' has no 
member named 'album'
  ../src/metadata/ffmpeg_handler.cc:110:18: error: 'AVFormatContext' has no 
member named 'year'
  ../src/metadata/ffmpeg_handler.cc:112:6: error: 'AVFormatContext' has no 
member named 'year'
  ../src/metadata/ffmpeg_handler.cc:114:64: error: 'AVFormatContext' has no 
member named 'year'
  ../src/metadata/ffmpeg_handler.cc:116:25: error: 'AVFormatContext' has no 
member named 'genre'
  ../src/metadata/ffmpeg_handler.cc:118:6: error: 'AVFormatContext' has no 
member named 'genre'
  ../src/metadata/ffmpeg_handler.cc:120:51: error: 'AVFormatContext' has no 
member named 'genre'
  ../src/metadata/ffmpeg_handler.cc:122:25: error: 'AVFormatContext' has no 
member named 'comment'
  ../src/metadata/ffmpeg_handler.cc:124:6: error: 'AVFormatContext' has no 
member named 'comment'
  ../src/metadata/ffmpeg_handler.cc:126:51: error: 'AVFormatContext' has no 
member named 'comment'
  ../src/metadata/ffmpeg_handler.cc:128:18: error: 'AVFormatContext' has no 
member named 'track'
  ../src/metadata/ffmpeg_handler.cc:130:6: error: 'AVFormatContext' has no 
member named 'track'
  ../src/metadata/ffmpeg_handler.cc:132:64: error: 'AVFormatContext' has no 
member named 'track'
  ../src/metadata/ffmpeg_handler.cc: In function 'void 
addFfmpegResourceFields(zmm::Ref<CdsItem>, AVFormatContext*, int*, int*)':
  ../src/metadata/ffmpeg_handler.cc:181:71: error: 'CODEC_TYPE_VIDEO' was not 
declared in this scope
  ../src/metadata/ffmpeg_handler.cc:212:31: error: 'CODEC_TYPE_AUDIO' was not 
declared in this scope
  
  According to libavformat.h, this is due to LIBAVCODEC_VERSION_* having
  increased and so deprecated features like those above are no longer
  available.
  
- More info:
- 
https://code.launchpad.net/~vanvugt/ubuntu/oneiric/mediatomb/fix-212441/+merge/60574
+ The cause appears to be this package update from 30 April:
+ https://launchpad.net/ubuntu/oneiric/+source/libav

** Patch added: "fix_libav_0.7_support.patch"
   
https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/784431/+attachment/2133332/+files/fix_libav_0.7_support.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/784431

Title:
  mediatomb build failure when libavformat-dev >= 4:0.7

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to