summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorrofafor <rofafor>2013-10-25 17:22:38 +0000
committerrofafor <rofafor>2013-10-25 17:22:38 +0000
commit9da4aceadbf7d5b3ff8c90dcc3107cb8bede4f99 (patch)
tree10e5c35f9fbfc1f2367df7a82bfaac16dce9ef9a /tools
parentab8cf79be9a61820fca1e0d3efa9774b848cbc1d (diff)
downloadxineliboutput-9da4aceadbf7d5b3ff8c90dcc3107cb8bede4f99.tar.gz
xineliboutput-9da4aceadbf7d5b3ff8c90dcc3107cb8bede4f99.tar.bz2
Added support for vdr-2.1.2.
Diffstat (limited to 'tools')
-rw-r--r--tools/udp_pes_scheduler.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/udp_pes_scheduler.c b/tools/udp_pes_scheduler.c
index 615b43b7..505637b0 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.56 2011-02-28 13:15:08 phintuka Exp $
+ * $Id: udp_pes_scheduler.c,v 1.57 2013-10-25 17:22:38 rofafor Exp $
*
*/
@@ -635,7 +635,12 @@ void cUdpScheduler::Send_SAP(bool Announce)
#if 1
/* store copy of SDP data */
if(m_fd_sap < 0) {
- cString fname = AddDirectory(VideoDirectory,
+ cString fname = AddDirectory(
+#if defined(APIVERSNUM) && (APIVERSNUM < 20102)
+ VideoDirectory,
+#else
+ cVideoDirectory::Name(),
+#endif
cString::sprintf("xineliboutput@%s.sdp",
ip));
FILE *fp = fopen(fname, "w");