libspark/playback_libeplayer3: treat rtmp/mms as http stream

This commit is contained in:
martii
2012-11-14 14:20:31 +01:00
parent 6e74f47285
commit 079d28cc86

View File

@@ -129,6 +129,18 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
printf("http://\n"); printf("http://\n");
isHTTP = true; isHTTP = true;
} }
#ifdef MARTII
else if(!strncmp("rtmp://", filename, 7))
{
printf("rtmp://\n");
isHTTP = true;
}
else if(!strncmp("mms://", filename, 6))
{
printf("mss://\n");
isHTTP = true;
}
#endif
else if(!strncmp("file://", filename, 7)) else if(!strncmp("file://", filename, 7))
{ {
printf("file://\n"); printf("file://\n");