movieplayer.cpp: add rtsp parse

Origin commit data
------------------
Branch: ni/coolstream
Commit: 79e63c3f78
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-09-09 (Mon, 09 Sep 2013)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2013-09-09 19:25:37 +02:00
parent 8bc78b5820
commit 0976f220c1

View File

@@ -420,7 +420,7 @@ bool CMoviePlayerGui::SelectFile()
if (strlen(cLine) > 0 && cLine[0]!='#')
{
char *url = NULL;
if ( (url = strstr(cLine, "http://")) || (url = strstr(cLine, "rtmp://")) ){
if ( (url = strstr(cLine, "http://")) || (url = strstr(cLine, "rtmp://")) || (url = strstr(cLine, "rtsp://")) ){
if (url != NULL) {
printf("name %s [%d] url: %s\n", name, dur, url);
full_name = url;