mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
/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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user