mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
movieplayer.cpp: add rtsp parse
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