summaryrefslogtreecommitdiff
path: root/plugins/image/patches
diff options
context:
space:
mode:
authorroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
committerroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
commit0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch)
tree11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/image/patches
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'plugins/image/patches')
-rw-r--r--plugins/image/patches/image-0.3.0_ffmpeg.diff10
-rw-r--r--plugins/image/patches/image-0.3.0_plug-man.diff36
2 files changed, 46 insertions, 0 deletions
diff --git a/plugins/image/patches/image-0.3.0_ffmpeg.diff b/plugins/image/patches/image-0.3.0_ffmpeg.diff
new file mode 100644
index 0000000..da06627
--- /dev/null
+++ b/plugins/image/patches/image-0.3.0_ffmpeg.diff
@@ -0,0 +1,10 @@
+--- Makefile~
++++ Makefile
+@@ -80,6 +80,7 @@
+ INCLUDES += -I$(VDRDIR)/include -I.
+
+ ifdef FFMDIR
++INCLUDES += -I$(FFMDIR) -I$(FFMDIR)/libavcodec -I$(FFMDIR)/libavformat -I$(FFMDIR)/libswscale
+ DEFINES += -DFFMDIR
+ LIBS += -L$(FFMDIR)/libavcodec -lavcodec -lz
+ ifeq ($(LIBAVCODECVERSION),51)
diff --git a/plugins/image/patches/image-0.3.0_plug-man.diff b/plugins/image/patches/image-0.3.0_plug-man.diff
new file mode 100644
index 0000000..42c78ca
--- /dev/null
+++ b/plugins/image/patches/image-0.3.0_plug-man.diff
@@ -0,0 +1,36 @@
+--- menu-image.c
++++ menu-image.c.patch
+@@ -17,6 +17,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <libgen.h>
+ #include <typeinfo>
+
+ #include "image.h"
+@@ -25,7 +26,7 @@
+ #include "menu-image.h"
+ #include "control-image.h"
+ #include <vdr/i18n.h>
+-
++#include <vdr/plugin.h>
+ #include <vdr/status.h>
+
+
+@@ -79,6 +80,8 @@
+ char *full = source->BuildName(name);
+ cDirItem *item = cMenuBrowse::GetSelected();
+ if(item) {
++ // check, whether we can use a different plugin for replay
++ if(!cPluginManager::CallFirstService("ReplayDirectoryImages", dirname(full))) {
+
+ //FIXME use a nonblocking way
+ //OSD_InfoMsg(tr("Building slide show..."));
+@@ -96,6 +99,7 @@
+ }
+ lastselect = NULL;
+ }
++ }
+ free(full);
+ free(name);
+ }