mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libspark/playback_libeplayer3: assume that libeplayer3 can handle arbitrary URLs
Origin commit data
------------------
Branch: master
Commit: 938a6c4491
Author: martii <m4rtii@gmx.de>
Date: 2013-08-18 (Sun, 18 Aug 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -114,30 +114,11 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
|
|||||||
char file[strlen(filename) + 1];
|
char file[strlen(filename) + 1];
|
||||||
*file = 0;
|
*file = 0;
|
||||||
|
|
||||||
if(!strncmp("http://", filename, 7))
|
if (!strncmp("file://", filename, 7))
|
||||||
{
|
filename += 7;
|
||||||
printf("http://\n");
|
|
||||||
|
if(strstr(filename, "://"))
|
||||||
isHTTP = true;
|
isHTTP = true;
|
||||||
}
|
|
||||||
else if(!strncmp("rtmp://", filename, 7))
|
|
||||||
{
|
|
||||||
printf("rtmp://\n");
|
|
||||||
isHTTP = true;
|
|
||||||
}
|
|
||||||
else if(!strncmp("mms://", filename, 6))
|
|
||||||
{
|
|
||||||
printf("mss://\n");
|
|
||||||
isHTTP = true;
|
|
||||||
}
|
|
||||||
else if(!strncmp("file://", filename, 7))
|
|
||||||
{
|
|
||||||
printf("file://\n");
|
|
||||||
}
|
|
||||||
else if(!strncmp("upnp://", filename, 7))
|
|
||||||
{
|
|
||||||
printf("upnp://\n");
|
|
||||||
isHTTP = true;
|
|
||||||
}
|
|
||||||
else if (pm == PLAYMODE_TS && no_probe)
|
else if (pm == PLAYMODE_TS && no_probe)
|
||||||
strcat(file, "myts://");
|
strcat(file, "myts://");
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user