mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -420,7 +420,7 @@ bool CMoviePlayerGui::SelectFile()
|
|||||||
if (strlen(cLine) > 0 && cLine[0]!='#')
|
if (strlen(cLine) > 0 && cLine[0]!='#')
|
||||||
{
|
{
|
||||||
char *url = NULL;
|
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) {
|
if (url != NULL) {
|
||||||
printf("name %s [%d] url: %s\n", name, dur, url);
|
printf("name %s [%d] url: %s\n", name, dur, url);
|
||||||
full_name = url;
|
full_name = url;
|
||||||
|
Reference in New Issue
Block a user