mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libeplayer3: extend API
This commit is contained in:
@@ -56,7 +56,6 @@ class Input
|
||||
float seek_sec_abs;
|
||||
float seek_sec_rel;
|
||||
bool isContainerRunning;
|
||||
bool terminating;
|
||||
bool abortPlayback;
|
||||
|
||||
Player *player;
|
||||
|
@@ -90,6 +90,11 @@ class Player {
|
||||
bool SwitchTeletext(int pid);
|
||||
bool SwitchSubtitle(int pid);
|
||||
|
||||
int GetAudioPid();
|
||||
int GetVideoPid();
|
||||
int GetSubtitlePid();
|
||||
int GetTeletextPid();
|
||||
|
||||
bool GetPts(int64_t &pts);
|
||||
bool GetFrameCount(int64_t &framecount);
|
||||
bool GetDuration(double &duration);
|
||||
@@ -98,6 +103,7 @@ class Player {
|
||||
bool SlowMotion(int repeats);
|
||||
bool FastBackward(int speed);
|
||||
bool FastForward(int speed);
|
||||
|
||||
bool Open(const char *Url, bool noprobe = false);
|
||||
bool Close();
|
||||
bool Play();
|
||||
|
Reference in New Issue
Block a user