Deprecations in new package make using impossible

Asked by Robert Toscano

I'm trying to use AVFormat in the new version of the package for Hardy. I try to use AVStream, but a member of the struct is deprecated, so I can't use it w/o getting a deprecation warning. Also, there is no suggestion in the header file on what to use instead.

Will the version of ffmpeg that Hardy uses be upgraded (I know this deprecation has been fixed in later releases of ffmpeg (e.g. package in Jaunty))? If not, will it be downgraded so that people can use AVStream again?

Hopefully that question was clear. I agree this problem is caused by the developers of libavformat but can the package be reverted or upgraded? Thanks for reading!

Question information

English Edit question
Ubuntu ffmpeg Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
midnightflash (midnightflash) said :

You can always compile the programms you need yourself...

Much fun!

Revision history for this message
Robert Toscano (robert-l-toscano) said :

Thanks for the quick response midnightflash.

I probably should have elaborated a bit more the first time. I'm developing a library that is supposed to support Ubuntu Hardy, so having my clients compile the latest version of ffmpeg is not really an option for me. Right now, we're thinking of just turning off "treat warnings as errors" flag (or just the deprecation warnings) in our compiler, but that's kind of an ugly solution (and not the correct way).

Ideally, I guess if there is enough support, an upgrade of ffmpeg would solve these deprecation issues. Another solution would be to downgrade to the non-deprecated version, but I'm guessing there was a good reason why the upgrade happened in the first place.

I'm curious if anyone has this same issue and if there is any interest in upgrading the package for Hardy. Also, I'd be willing to submit the patch if anyone feels like pointing me in the right direction (I've never done one before).

Revision history for this message
midnightflash (midnightflash) said :

Those Ubuntu guys are never doing such changes after "feature freeze".
Soooo... you can try to open the backports, or try to find or make your own a PPA holding the packages. May be is holding the wanted version.


Can you help with this problem?

Provide an answer of your own, or ask Robert Toscano for more information if necessary.

To post a message you must log in.