[Kdenlive-devel] [PATCH] renderer avformat.h include directory

Albert ARIBAUD albert.aribaud at free.fr
Fri Apr 25 11:13:09 UTC 2008


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,
-- 
Albert.




More information about the Kdenlive mailing list