aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-04-26 12:59:06 +0200
committerghost <andreas.monzner@multimedia-labs.de>2011-09-14 23:01:13 +0200
commit072779cb43e9477e1f56bcb2b1eb9078274972bc (patch)
tree990ef67c1abcd827bd0693a62d581eb30ceea815
parent75d5fba59f4e575eab24d1a6397a5904abed1101 (diff)
downloadenigma2-072779cb43e9477e1f56bcb2b1eb9078274972bc.tar.gz
enigma2-072779cb43e9477e1f56bcb2b1eb9078274972bc.zip
servicemp3.cpp: more simple/flexible streaming detectionHEADmaster
-rw-r--r--lib/service/servicemp3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index be55d0cd..937032aa 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -284,7 +284,7 @@ eServiceMP3::eServiceMP3(eServiceReference ref)
m_sourceinfo.containertype = ctVCD;
m_sourceinfo.is_video = TRUE;
}
- if ( (strncmp(filename, "http://", 7)) == 0 || (strncmp(filename, "udp://", 6)) == 0 || (strncmp(filename, "rtp://", 6)) == 0 || (strncmp(filename, "https://", 8)) == 0 || (strncmp(filename, "mms://", 6)) == 0 || (strncmp(filename, "rtsp://", 7)) == 0 || (strncmp(filename, "rtspt://", 7)) == 0 )
+ if ( strstr(filename, "://") )
m_sourceinfo.is_streaming = TRUE;
gchar *uri;