diff options
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | INSTALL | 5 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | dxr3log.c | 6 |
4 files changed, 18 insertions, 4 deletions
@@ -245,4 +245,8 @@ NOTE: I havent found time to include all of the languages, will be done in pre2 - added functions to read and write registers directly with the plugin - added basic dolby digital interface - you can configure microcode path in Makefile - thanks to Sascha Volkenandt <sascha@akv-soft.de> -- fixed DVBDIR and FFMDIR in Makefile - thanks to guys from www.vdr-wiki.de
\ No newline at end of file +- fixed DVBDIR and FFMDIR in Makefile - thanks to guys from www.vdr-wiki.de +- you can set now logpath in makefile - thanks to Dr. Seltsam from www.vdr-portal.de + You should also run a linke like + # find / -name "dxr3plugin.log" | xargs rm + because the pre2 seems to put this dxr3plugin.log random in some folders.
\ No newline at end of file @@ -11,9 +11,12 @@ Installation: - Unpack the package into "PLUGINS/SRC" directory - Make a symbolic link to this dxr3-plugin (ln -s vdr_dxr3_x.x.x dxr3) - Check FFMDIR and EM8300 in Makefile -- Check path to microcode for dxr3 in Makefile: +- Check extra settings in Makefile: # where is the microcode for the dxr3 located? DEFINES += -DMICROCODE=\"/usr/share/misc/em8300.uc\" + + # where should we write our log? + DEFINES += -DLOGPATH=\"/video/\" # note: path must end with / - Call "make plugins" in the VDR root directory - Make sure your DXR3 driver modules are loaded and ready to run - Start VDR with "vdr -Pdxr3" @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile,v 1.4 2004/09/18 01:36:02 austriancoder Exp $ +# $Id: Makefile,v 1.5 2004/09/18 12:49:02 austriancoder Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -51,6 +51,9 @@ DEFINES += -D_GNU_SOURCE # where is the microcode for the dxr3 located? DEFINES += -DMICROCODE=\"/usr/share/misc/em8300.uc\" +# where should we write our log? +DEFINES += -DLOGPATH=\"/video/\" # note: path must end with / + ### The object files (add further files here): OBJS = $(PLUGIN).o dxr3multichannelaudio.o dxr3sysclock.o dxr3colormanager.o dxr3syncbuffer.o dxr3audiodecoder.o \ @@ -28,7 +28,11 @@ cLog::cLog() m_LogOpen = false; m_ForeFlush = true; - Open("dxr3plugin.log"); + std::string Filename; + Filename += LOGPATH; + Filename += "dxr3plugin.log"; + + Open(Filename); } // ================================== |