#12731: Implement deinterlacing using ffmpeg 3.x
------------------------------------+----------------------------
Reporter: korli | Owner: pulkomandy
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Audio & Video/Codecs | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
------------------------------------+----------------------------
Comment (by pulkomandy):
From what I saw, most of our API problems were because we are using APIs
from the 0.7 or 0.8 days (when stippi wrote most of our ffmpeg add-on).
These were still working on 0.10, but after that they were deprecated then
dropped.
If we upgrade to using up-to-date 0.10 APIs, these are usually still
supported in the 2.8 series (I have no idea about 3.x yet). The divergence
isn't big enough yet to make two different plugins (ffmpeg0.10 and
ffmpeg3), but if that changes in the future, we may go this way (just
duplicate the sources, then remove the respective part of the #ifdefs)
Finally, ffmpeg provides us with defines allowing to cleanly test for
library versions, and each time I introduced a version-dependant change, I
made sure to find the exact version of the lib where the change was made.
This way it is clear which of these we need to keep, and which can be
dropped, depending on which ffmpeg versions we are shipping.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12731#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.