mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +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:
@@ -15,31 +15,20 @@ class cPlayback
|
||||
bool playing;
|
||||
int nPlaybackSpeed;
|
||||
int mAudioStream;
|
||||
#ifdef MARTII
|
||||
int mSubtitleStream;
|
||||
int mDvbsubtitleStream;
|
||||
int mTeletextStream;
|
||||
void (*framebuffer_callback)(unsigned char **, unsigned int *, unsigned int *, unsigned int *, int *);
|
||||
#endif
|
||||
bool Stop(void);
|
||||
public:
|
||||
#ifdef MARTII
|
||||
cPlayback(int num = 0, void (*fbcb)(unsigned char **, unsigned int *, unsigned int *, unsigned int *, int *) = NULL);
|
||||
#else
|
||||
cPlayback(int num = 0);
|
||||
#endif
|
||||
~cPlayback();
|
||||
|
||||
bool Open(playmode_t PlayMode);
|
||||
void Close(void);
|
||||
bool Start(char *filename, unsigned short vpid, int vtype, unsigned short apid,
|
||||
#ifdef MARTII
|
||||
int ac3, unsigned int duration, bool no_probe = true);
|
||||
#else
|
||||
int ac3, unsigned int duration);
|
||||
#endif
|
||||
bool SetAPid(unsigned short pid, bool ac3);
|
||||
#ifdef MARTII
|
||||
bool SetSubtitlePid(unsigned short pid);
|
||||
bool SetDvbsubtitlePid(unsigned short pid);
|
||||
bool SetTeletextPid(unsigned short pid);
|
||||
@@ -48,19 +37,16 @@ class cPlayback
|
||||
unsigned short GetDvbsubtitlePid(void) { return mDvbsubtitleStream; }
|
||||
unsigned short GetTeletextPid(void);
|
||||
void SuspendSubtitle(bool);
|
||||
#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);
|
||||
#endif
|
||||
#if 0
|
||||
// Functions that are not used by movieplayer.cpp:
|
||||
bool GetOffset(off64_t &offset);
|
||||
|
Reference in New Issue
Block a user