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();
|
titles.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cPlayback::RequestAbort(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
cPlayback::cPlayback(int /*num*/)
|
cPlayback::cPlayback(int /*num*/)
|
||||||
{
|
{
|
||||||
lt_info("%s: constructor\n", __func__);
|
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);
|
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||||
bool SelectSubtitles(int pid);
|
bool SelectSubtitles(int pid);
|
||||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||||
|
void RequestAbort();
|
||||||
#if 0
|
#if 0
|
||||||
// Functions that are not used by movieplayer.cpp:
|
// Functions that are not used by movieplayer.cpp:
|
||||||
bool Stop(void);
|
bool Stop(void);
|
||||||
|
@@ -75,6 +75,10 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
|
|||||||
titles.clear();
|
titles.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cPlayback::RequestAbort(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
cPlayback::cPlayback(int /*num*/)
|
cPlayback::cPlayback(int /*num*/)
|
||||||
{
|
{
|
||||||
printf("%s:%s\n", FILENAME, __func__);
|
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);
|
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||||
bool SelectSubtitles(int pid);
|
bool SelectSubtitles(int pid);
|
||||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||||
|
void RequestAbort();
|
||||||
//
|
//
|
||||||
cPlayback(int num = 0);
|
cPlayback(int num = 0);
|
||||||
~cPlayback();
|
~cPlayback();
|
||||||
|
@@ -109,6 +109,7 @@ class cPlayback
|
|||||||
bool GetPosition(int &position, int &duration); /* pos: current time in ms, dur: file length in ms */
|
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 */
|
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 FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||||
|
void RequestAbort();
|
||||||
#if 0
|
#if 0
|
||||||
// Functions that are not used by movieplayer.cpp:
|
// Functions that are not used by movieplayer.cpp:
|
||||||
bool Stop(void);
|
bool Stop(void);
|
||||||
|
@@ -478,6 +478,10 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
|
|||||||
titles.clear();
|
titles.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cPlayback::RequestAbort(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
cPlayback::cPlayback(int num)
|
cPlayback::cPlayback(int num)
|
||||||
{
|
{
|
||||||
|
@@ -34,6 +34,7 @@ class cPlayback
|
|||||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||||
bool SelectSubtitles(int pid);
|
bool SelectSubtitles(int pid);
|
||||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||||
|
void RequestAbort();
|
||||||
#if 0
|
#if 0
|
||||||
// Functions that are not used by movieplayer.cpp:
|
// Functions that are not used by movieplayer.cpp:
|
||||||
bool GetOffset(off64_t &offset);
|
bool GetOffset(off64_t &offset);
|
||||||
|
@@ -594,6 +594,10 @@ void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string
|
|||||||
titles.clear();
|
titles.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cPlayback::RequestAbort(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
off_t cPlayback::seek_to_pts(int64_t pts)
|
off_t cPlayback::seek_to_pts(int64_t pts)
|
||||||
{
|
{
|
||||||
off_t newpos = curr_pos;
|
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);
|
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||||
bool SelectSubtitles(int pid);
|
bool SelectSubtitles(int pid);
|
||||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||||
|
void RequestAbort();
|
||||||
#if 0
|
#if 0
|
||||||
// Functions that are not used by movieplayer.cpp:
|
// Functions that are not used by movieplayer.cpp:
|
||||||
bool Stop(void);
|
bool Stop(void);
|
||||||
|
Reference in New Issue
Block a user