fix build for generic-pc

Signed-off-by: Thilo Graf <dbt@novatux.de>


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

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

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-01-09 09:35:31 +01:00
committed by Thilo Graf
parent 056d58f9b4
commit 34c7582fea
5 changed files with 46 additions and 15 deletions

View File

@@ -1015,10 +1015,10 @@ void cPlayback::RequestAbort()
{
}
void cPlayback::FindAllSubs(uint16_t *, unsigned short *, uint16_t *numpida, std::string *)
void cPlayback::FindAllSubs(int * /*pids*/, unsigned int * /*supp*/, unsigned int *num, std::string * /*lang*/)
{
printf("%s:%s\n", FILENAME, __func__);
*numpida = 0;
*num = 0;
}
void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string> &titles)
@@ -1027,9 +1027,20 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
titles.clear();
}
bool cPlayback::SelectSubtitles(int pid)
void cPlayback::GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int &current)
{
printf("%s:%s pid %i\n", FILENAME, __func__, pid);
playlists.clear();
titles.clear();
current = 0;
}
void cPlayback::SetTitle(int /*title*/)
{
}
bool cPlayback::SelectSubtitles(int pid, std::string charset)
{
printf("%s:%s pid %i, charset: %s\n", FILENAME, __func__, pid, charset.c_str());
return true;
}