Marco Gittler
Fri, 25 Apr 2008 05:40:45 -0700
i think this could be a problem
not all have the latest ffmpeg version
so i think we should
#include <avformat.h>
and add to the CXXFLAGS -I /usr/include/libavformat or -I/usr/include/ffmpeg
with cmake, when we found the right postion.
i think latest ffmpeg has pkgconfig for this, but what about the older
version ?
regards marco
Am Freitag, 25. April 2008 schrieb Albert ARIBAUD:
> Hi,
>
> Renderer includes <ffmeg/avformat.h>, but ffmpeg (latest svn) actually
> installs <libavformat/avformat.h> so kdenlive won't compile without this
> fix. Patch below for KDE3 and KDE4 versions.
>
> For KDE3 version:
>
> ------------------------------------------ Patch file begin
> Index: kdenlive/krender.cpp
> ===================================================================
> --- kdenlive/krender.cpp (révision 2166)
> +++ kdenlive/krender.cpp (copie de travail)
> @@ -25,7 +25,7 @@
> // ffmpeg Header files
>
> extern "C" {
> -#include <ffmpeg/avformat.h>
> +#include <libavformat/avformat.h>
> }
>
> #include <iostream>
> ------------------------------------------ Patch file end
>
> For KDE4 version:
>
> ------------------------------------------ Patch file begin
> Index: src/renderer.cpp
> ===================================================================
> --- src/renderer.cpp (révision 2166)
> +++ src/renderer.cpp (copie de travail)
> @@ -41,7 +41,7 @@
> #include "renderer.h"
> #include "kdenlivesettings.h"
> #include "kthumb.h"
> -//#include <ffmpeg/avformat.h>
> +//#include <libavformat/avformat.h>
> #include <mlt++/Mlt.h>
>
> static void consumer_frame_show(mlt_consumer, Render * self, mlt_frame
> frame_ptr) {
> ------------------------------------------ Patch file end
>
> Cheers,
--
Was ist der unterschied zwischen Bill Gates und Gott?
Gott weiß daß er nicht Bill Gates ist.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel