/movieplayer.cpp: add mmsh protocol to file parse

Origin commit data
------------------
Branch: ni/coolstream
Commit: b320bafc3c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-22 (Thu, 22 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-01-22 17:28:52 +01:00
parent 7f0ac9a93b
commit 65959be447

View File

@@ -1959,7 +1959,7 @@ void CMoviePlayerGui::parsePlaylist(CFile *file)
if (strlen(cLine) > 0 && cLine[0]!='#')
{
char *url = NULL;
if ((url = strstr(cLine, "http://")) || (url = strstr(cLine, "rtmp://")) || (url = strstr(cLine, "rtsp://")) ) {
if ((url = strstr(cLine, "http://")) || (url = strstr(cLine, "rtmp://")) || (url = strstr(cLine, "rtsp://")) || (url = strstr(cLine, "mmsh://")) ) {
if (url != NULL) {
printf("name %s [%d] url: %s\n", name, dur, url);
file_name = url;