summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/udp_pes_scheduler.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/udp_pes_scheduler.c b/tools/udp_pes_scheduler.c
index 16418e04..81b2bf11 100644
--- a/tools/udp_pes_scheduler.c
+++ b/tools/udp_pes_scheduler.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: udp_pes_scheduler.c,v 1.22 2007-01-19 20:17:16 phintuka Exp $
+ * $Id: udp_pes_scheduler.c,v 1.23 2007-01-20 18:23:28 phintuka Exp $
*
*/
@@ -22,6 +22,7 @@
#include <vdr/config.h>
#include <vdr/tools.h>
+#include <vdr/videodir.h>
#include "../logdefs.h" // logging
#include "../config.h" // configuration data
@@ -515,7 +516,9 @@ void cUdpScheduler::Send_SAP(bool Announce)
#if 1
/* store copy of SDP data */
if(m_fd_sap < 0) {
- cString fname = cString::sprintf("/video/xineliboutput@%s.sdp", ip);
+ cString fname = AddDirectory(VideoDirectory,
+ cString::sprintf("xineliboutput@%s.sdp",
+ ip));
FILE *fp = fopen(fname, "w");
if(fp) {
fprintf(fp, "%s", sdp_descr);