mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 16:00:58 +02:00
cleanup
Origin commit data
------------------
Branch: master
Commit: 23bea61473
Author: martii <m4rtii@gmx.de>
Date: 2013-06-08 (Sat, 08 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -13,27 +13,18 @@ class cPlayback
|
||||
{
|
||||
private:
|
||||
bool playing;
|
||||
#ifdef MARTII
|
||||
int mAudioStream;
|
||||
int mSubtitleStream;
|
||||
int mDvbsubtitleStream;
|
||||
int mTeletextStream;
|
||||
void (*framebuffer_callback)(unsigned char **, unsigned int *, unsigned int *, unsigned int *, int *);
|
||||
#endif
|
||||
public:
|
||||
#ifdef MARTII
|
||||
cPlayback(int num __attribute__((unused))= 0, void (* /*fbcb*/)(unsigned char **, unsigned int *, unsigned int *, unsigned int *, int *) = NULL) { };
|
||||
#endif
|
||||
bool Open(playmode_t PlayMode);
|
||||
void Close(void);
|
||||
#ifdef MARTII
|
||||
bool Start(char * filename, unsigned short vpid, int vtype, unsigned short apid, bool ac3, int duration, bool no_probe = true);
|
||||
#else
|
||||
bool Start(char * filename, unsigned short vpid, int vtype, unsigned short apid, bool ac3, int duration);
|
||||
#endif
|
||||
bool Stop(void);
|
||||
bool SetAPid(unsigned short pid, bool ac3);
|
||||
#ifdef MARTII
|
||||
bool SetSubtitlePid(unsigned short pid);
|
||||
bool SetDvbsubtitlePid(unsigned short pid);
|
||||
bool SetTeletextPid(unsigned short pid);
|
||||
@@ -42,23 +33,16 @@ class cPlayback
|
||||
unsigned short GetDvbsubtitlePid(void) { return mDvbsubtitleStream; }
|
||||
unsigned short GetTeletextPid(void);
|
||||
void SuspendSubtitle(bool);
|
||||
#else
|
||||
bool SetSPid(int pid);
|
||||
#endif
|
||||
bool SetSpeed(int speed);
|
||||
bool GetSpeed(int &speed) const;
|
||||
bool GetPosition(int &position, int &duration);
|
||||
bool SetPosition(int position, bool absolute = false);
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||
#ifdef MARTII
|
||||
void FindAllSubtitlePids(uint16_t *pids, uint16_t *numpids, std::string *language);
|
||||
void FindAllDvbsubtitlePids(uint16_t *pids, uint16_t *numpids, std::string *language);
|
||||
void FindAllTeletextsubtitlePids(uint16_t *pids, uint16_t *numpidt, std::string *tlanguage);
|
||||
|
||||
void RequestAbort(void);
|
||||
#else
|
||||
void FindAllSPids(int *spids, uint16_t *numpids, std::string *language);
|
||||
#endif
|
||||
//
|
||||
cPlayback(int num = 0);
|
||||
~cPlayback();
|
||||
|
Reference in New Issue
Block a user