fix build for generic-pc

Origin commit data
------------------
Branch: master
Commit: f221e0fdb1
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-09 (Tue, 09 Jan 2018)

Origin message was:
------------------
- fix build for generic-pc

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-01-09 09:35:31 +01:00
parent 84c7244697
commit 1565a59f4b
5 changed files with 46 additions and 15 deletions

View File

@@ -31,9 +31,9 @@ bool cPlayback::SetAPid(int pid, bool /*ac3*/)
return true;
}
bool cPlayback::SelectSubtitles(int pid)
bool cPlayback::SelectSubtitles(int pid, std::string charset)
{
printf("%s:%s pid %i\n", FILENAME, __func__, pid);
printf("%s:%s pid %i, charset: %s\n", FILENAME, __func__, pid, charset.c_str());
return true;
}
@@ -105,7 +105,7 @@ int cPlayback::GetTeletextPid(void)
return -1;
}
void cPlayback::FindAllSubs(uint16_t * /*pids*/, unsigned short * /*supp*/, uint16_t *num, std::string * /*lang*/)
void cPlayback::FindAllSubs(int * /*pids*/, unsigned int * /*supp*/, unsigned int *num, std::string * /*lang*/)
{
printf("%s:%s\n", FILENAME, __func__);
*num = 0;
@@ -125,6 +125,9 @@ void cPlayback::GetMetadata(std::vector<std::string> &keys, std::vector<std::str
void cPlayback::GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int &current)
{
playlists.clear();
titles.clear();
current = 0;
}
void cPlayback::SetTitle(int /*title*/)