mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
spark: speed up playback start for PLAYMODE_TS
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user