mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libspark: fix build after libeplayer update
only build tested for now.
This commit is contained in:
@@ -355,10 +355,12 @@ bool cPlayback::GetSpeed(int &speed) const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
void cPlayback::GetPts(uint64_t &pts)
|
void cPlayback::GetPts(uint64_t &pts)
|
||||||
{
|
{
|
||||||
player->playback->Command(player, PLAYBACK_PTS, (void*)pts);
|
player->playback->Command(player, PLAYBACK_PTS, (void*)pts);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// in milliseconds
|
// in milliseconds
|
||||||
bool cPlayback::GetPosition(int &position, int &duration)
|
bool cPlayback::GetPosition(int &position, int &duration)
|
||||||
@@ -450,6 +452,8 @@ bool cPlayback::SetPosition(int position, bool /*absolute*/)
|
|||||||
void cPlayback::FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language)
|
void cPlayback::FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language)
|
||||||
{
|
{
|
||||||
printf("%s:%s\n", FILENAME, __FUNCTION__);
|
printf("%s:%s\n", FILENAME, __FUNCTION__);
|
||||||
|
int max_numpida = 10; // REC_MAX_APIDS in neutrino
|
||||||
|
*numpida = 0;
|
||||||
if(player && player->manager && player->manager->audio) {
|
if(player && player->manager && player->manager->audio) {
|
||||||
char ** TrackList = NULL;
|
char ** TrackList = NULL;
|
||||||
player->manager->audio->Command(player, MANAGER_LIST, &TrackList);
|
player->manager->audio->Command(player, MANAGER_LIST, &TrackList);
|
||||||
|
Reference in New Issue
Block a user