New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't build with ffmpeg 3.0 #1042
Comments
|
Curious, I'm aware of the deprecation, but it built fine with ffmpeg 3.0 for me. There are several functions relating to packets that are deprecated as the memory model was changed so that instead of owning buffers packets share buffers and reference count them. https://github.com/FFmpeg/FFmpeg/blob/bb9f7bf1a21d6e00dcb2afaf94d8f84e410cf89c/doc/APIchanges#L68 I would have made the change already but I haven't yet verified if our use of av_dup_packet is a noop or needs to be av_packet_ref. |
Thanks for testing. Well, build deamon did failed to rebuild 0.50, not the current git master; but all the deprecated "av_free_packet()" are still there. So there are two issues there:
|
|
The commit referenced above was part of 0.50. 9260930 is probably the one you needed; 4ae56e1 is also a required patch (or else movies will segfault on newer ffmpeg); and 5e1ea3a is required for AMD users. I think you could apply |
|
I've looked into the build log (search "Building CXX object") and while there are deprecation warnings (see below), that's not the actual build error.
Which looks like it was fixed cleanly in v0.60-beta1 (9260930) so apologies for bothering you and we should just be able to cherry-pick the patch for compatibility (or wait for the v0.60 release). I think this issue can be closed.
Full list of deprecations from build log (which would be nice to fix anyway):
@a-detiste FYI, I've begun preliminary changes for v0.60 in the "debian/experimental" git branch |
|
If you don't mind I'd like to leave this open to cover the av_*_packet deprecation. |
|
I see our messages got crossed, thank you for looking into it and for your dedication to quality.
Thanks, I've backported this commit to v0.50 which will hopefully be uploaded at some point
Indeed, we already had installed this one in the initial release
Yes, I was affected by this, but I've not backported it as the change is non-trivial (to me), the game otherwise runs fine and v0.60 will be out soon enough. For the record, this was also reported as Debian bug #821415 |
|
I confused the depreciation warnings with actual errors. I need more sleep 😓 😄 |
I found this one in Arch Linux packaging. |
|
All deprecation warnings have been resolved for 0.60. Do you guys have any other reason to keep this open (e.g. for 0.50)? |
|
there's now 0.50-2 in Debian; 0.50-1 got accepted after the Ubuntu import freeze and thus hasn't been imported yet, so there's nothing to fix there |
Hi,
The debian build daemons tried to automatically rebuild Corsix-TH with FFMpeg 3.0.
That failed. Fix seems obvious (
s/av_free_packet/av_packet_unref/g),can you please review it (I have a 6hours commute for now, sorry)
and include it in 0.60 release ?
This commit at MPV project says this api had been deprecated for a while
and /av_packet_unref is already present in FFmpeg for a while,
and that is dated Oct 2015.
mpv-player/mpv@3c081df
@emorrp1
https://buildd.debian.org/status/package.php?p=corsix-th#problem-3
xbmc/xbmc@3774381
andrewrk/libgroove@aed5104
The text was updated successfully, but these errors were encountered: