Motion - Ffmpeg Deinterlace Static

ffmpeg without dynamic memory allocation

Description of Patch

Why always allocate a whole AVFrame?

Floatingpoint arithmetics failed after ffmpeg_deinterlace (used by sdl),

but a call to "emms" fixed this problem for me.

Installation of Patch

Download the patch file (patch against svn).

patch < ffmpeg_deinterlace.diff

Then re-build Motion and test the patch.

Change History of Patch

  • 1.0 Initial revision

Discussion and Comments


emms is not available on my platform (NSLU2, ARM), and compilation fails there. In addition, it looks like a call to emms is already performed in ffmpeg_deinterlace, when the MMX instructions are available.

-- GelluleXg - 16 Apr 2010


Included in GIT and SVN trunk

-- AngelCarpintero - 31 Oct 2011

Topic revision: r5 - 31 Oct 2011, AngelCarpintero
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.