mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
playback: add dummy RequestAbort() functions
This commit is contained in:
@@ -504,6 +504,10 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
|
||||
titles.clear();
|
||||
}
|
||||
|
||||
void cPlayback::RequestAbort(void)
|
||||
{
|
||||
}
|
||||
|
||||
cPlayback::cPlayback(int /*num*/)
|
||||
{
|
||||
lt_info("%s: constructor\n", __func__);
|
||||
|
@@ -46,6 +46,7 @@ class cPlayback
|
||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||
bool SelectSubtitles(int pid);
|
||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||
void RequestAbort();
|
||||
#if 0
|
||||
// Functions that are not used by movieplayer.cpp:
|
||||
bool Stop(void);
|
||||
|
@@ -75,6 +75,10 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
|
||||
titles.clear();
|
||||
}
|
||||
|
||||
void cPlayback::RequestAbort(void)
|
||||
{
|
||||
}
|
||||
|
||||
cPlayback::cPlayback(int /*num*/)
|
||||
{
|
||||
printf("%s:%s\n", FILENAME, __func__);
|
||||
|
@@ -28,6 +28,7 @@ class cPlayback
|
||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||
bool SelectSubtitles(int pid);
|
||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||
void RequestAbort();
|
||||
//
|
||||
cPlayback(int num = 0);
|
||||
~cPlayback();
|
||||
|
@@ -109,6 +109,7 @@ class cPlayback
|
||||
bool GetPosition(int &position, int &duration); /* pos: current time in ms, dur: file length in ms */
|
||||
bool SetPosition(int position, bool absolute = false); /* position: jump in ms */
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||
void RequestAbort();
|
||||
#if 0
|
||||
// Functions that are not used by movieplayer.cpp:
|
||||
bool Stop(void);
|
||||
|
@@ -478,6 +478,10 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
|
||||
titles.clear();
|
||||
}
|
||||
|
||||
void cPlayback::RequestAbort(void)
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
cPlayback::cPlayback(int num)
|
||||
{
|
||||
|
@@ -34,6 +34,7 @@ class cPlayback
|
||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||
bool SelectSubtitles(int pid);
|
||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||
void RequestAbort();
|
||||
#if 0
|
||||
// Functions that are not used by movieplayer.cpp:
|
||||
bool GetOffset(off64_t &offset);
|
||||
|
@@ -594,6 +594,10 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
|
||||
titles.clear();
|
||||
}
|
||||
|
||||
void cPlayback::RequestAbort(void)
|
||||
{
|
||||
}
|
||||
|
||||
off_t cPlayback::seek_to_pts(int64_t pts)
|
||||
{
|
||||
off_t newpos = curr_pos;
|
||||
|
@@ -112,6 +112,7 @@ class cPlayback
|
||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||
bool SelectSubtitles(int pid);
|
||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||
void RequestAbort();
|
||||
#if 0
|
||||
// Functions that are not used by movieplayer.cpp:
|
||||
bool Stop(void);
|
||||
|
Reference in New Issue
Block a user