mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
spark: speed up playback start for PLAYMODE_TS
Origin commit data
------------------
Branch: master
Commit: 9efe410790
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-04 (Thu, 04 Oct 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -114,6 +114,8 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
|
|||||||
printf("upnp://\n");
|
printf("upnp://\n");
|
||||||
isHTTP = true;
|
isHTTP = true;
|
||||||
}
|
}
|
||||||
|
else if (pm == PLAYMODE_TS)
|
||||||
|
strcat(file, "myts://");
|
||||||
else
|
else
|
||||||
strcat(file, "file://");
|
strcat(file, "file://");
|
||||||
|
|
||||||
@@ -327,7 +329,7 @@ bool cPlayback::SetSpeed(int speed)
|
|||||||
|
|
||||||
bool cPlayback::GetSpeed(int &speed) const
|
bool cPlayback::GetSpeed(int &speed) const
|
||||||
{
|
{
|
||||||
printf("%s:%s\n", FILENAME, __FUNCTION__);
|
//printf("%s:%s\n", FILENAME, __FUNCTION__);
|
||||||
speed = nPlaybackSpeed;
|
speed = nPlaybackSpeed;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user