summaryrefslogtreecommitdiff
path: root/server/connectionHTTP.c
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-01-16 11:35:43 +0000
committerschmirl <schmirl>2009-01-16 11:35:43 +0000
commit9af6ceb00705470484c4b23cf71f9bb11d2af271 (patch)
tree29bb2eca1572f8f39435e5576cc2f6be46bfee25 /server/connectionHTTP.c
parent41cf7a58488e8e482383d427d6afc5deef0b8d0e (diff)
downloadvdr-plugin-streamdev-9af6ceb00705470484c4b23cf71f9bb11d2af271.tar.gz
vdr-plugin-streamdev-9af6ceb00705470484c4b23cf71f9bb11d2af271.tar.bz2
Commented PES for vdr 1.7.3+
Modified Files: HISTORY common.c common.h remux/ts2ps.h remux/tsremux.h server/connectionHTTP.c server/connectionVTP.c server/livestreamer.c server/livestreamer.h server/menuHTTP.c server/setup.c
Diffstat (limited to 'server/connectionHTTP.c')
-rw-r--r--server/connectionHTTP.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c
index 2e867cf..3b41bf2 100644
--- a/server/connectionHTTP.c
+++ b/server/connectionHTTP.c
@@ -1,5 +1,5 @@
/*
- * $Id: connectionHTTP.c,v 1.14 2008/10/14 11:05:47 schmirl Exp $
+ * $Id: connectionHTTP.c,v 1.15 2009/01/16 11:35:44 schmirl Exp $
*/
#include <ctype.h>
@@ -208,8 +208,10 @@ bool cConnectionHTTP::CmdGET(const std::string &Opts)
const char* pType = type.c_str();
if (strcasecmp(pType, "PS") == 0) {
m_StreamType = stPS;
+#if APIVERSNUM < 10703
} else if (strcasecmp(pType, "PES") == 0) {
m_StreamType = stPES;
+#endif
} else if (strcasecmp(pType, "TS") == 0) {
m_StreamType = stTS;
} else if (strcasecmp(pType, "ES") == 0) {
@@ -261,7 +263,9 @@ bool cConnectionHTTP::CmdGET(const std::string &Opts)
{
case stTS: base += "TS/"; break;
case stPS: base += "PS/"; break;
+#if APIVERSNUM < 10703
case stPES: base += "PES/"; break;
+#endif
case stES: base += "ES/"; break;
case stExtern: base += "Extern/"; break;
default: break;