spark: speed up playback start for PLAYMODE_TS

This commit is contained in:
Stefan Seyfried
2012-10-04 00:09:04 +02:00
parent 67dc685e61
commit 9efe410790

View File

@@ -114,6 +114,8 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
printf("upnp://\n");
isHTTP = true;
}
else if (pm == PLAYMODE_TS)
strcat(file, "myts://");
else
strcat(file, "file://");
@@ -327,7 +329,7 @@ bool cPlayback::SetSpeed(int speed)
bool cPlayback::GetSpeed(int &speed) const
{
printf("%s:%s\n", FILENAME, __FUNCTION__);
//printf("%s:%s\n", FILENAME, __FUNCTION__);
speed = nPlaybackSpeed;
return true;
}