summaryrefslogtreecommitdiff
path: root/server/connectionHTTP.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/connectionHTTP.c')
-rw-r--r--server/connectionHTTP.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c
index ef8b6ed..ce004a6 100644
--- a/server/connectionHTTP.c
+++ b/server/connectionHTTP.c
@@ -585,10 +585,12 @@ bool cConnectionHTTP::ProcessURI(const std::string& PathInfo)
// Streamtype with leading / stripped off
std::string type = PathInfo.substr(1, PathInfo.find_first_of("/;", 1) - 1);
const char* pType = type.c_str();
- if (strcasecmp(pType, "PS") == 0) {
- m_StreamType = stPS;
- } else if (strcasecmp(pType, "PES") == 0) {
+ if (strcasecmp(pType, "PES") == 0) {
m_StreamType = stPES;
+#ifdef STREAMDEV_PS
+ } else if (strcasecmp(pType, "PS") == 0) {
+ m_StreamType = stPS;
+#endif
} else if (strcasecmp(pType, "TS") == 0) {
m_StreamType = stTS;
} else if (strcasecmp(pType, "ES") == 0) {