mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
Origin commit data
------------------
Branch: master
Commit: 1c676196af
Author: martii <m4rtii@gmx.de>
Date: 2014-01-19 (Sun, 19 Jan 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
#ifndef PLAYBACK_H_
|
|
#define PLAYBACK_H_
|
|
#include <sys/types.h>
|
|
|
|
typedef enum { PLAYBACK_OPEN, PLAYBACK_CLOSE, PLAYBACK_PLAY, PLAYBACK_STOP,
|
|
PLAYBACK_PAUSE, PLAYBACK_CONTINUE, PLAYBACK_FLUSH, PLAYBACK_TERM,
|
|
PLAYBACK_FASTFORWARD, PLAYBACK_SEEK, PLAYBACK_SEEK_ABS,
|
|
PLAYBACK_PTS, PLAYBACK_LENGTH, PLAYBACK_SWITCH_AUDIO,
|
|
PLAYBACK_SWITCH_SUBTITLE, PLAYBACK_INFO, PLAYBACK_METADATA, PLAYBACK_SLOWMOTION,
|
|
PLAYBACK_FASTBACKWARD, PLAYBACK_GET_FRAME_COUNT,
|
|
PLAYBACK_SWITCH_TELETEXT, PLAYBACK_SWITCH_DVBSUBTITLE,
|
|
PLAYBACK_FRAMEBUFFER_LOCK,
|
|
PLAYBACK_FRAMEBUFFER_UNLOCK
|
|
} PlaybackCmd_t;
|
|
|
|
typedef struct PlaybackHandler_s {
|
|
char *Name;
|
|
|
|
int fd;
|
|
|
|
unsigned char isFile;
|
|
unsigned char isHttp;
|
|
|
|
unsigned char isPlaying;
|
|
unsigned char isPaused;
|
|
unsigned char isForwarding;
|
|
unsigned char isSeeking;
|
|
unsigned char isCreationPhase;
|
|
|
|
int BackWard;
|
|
int SlowMotion;
|
|
int Speed;
|
|
int AVSync;
|
|
|
|
unsigned char isVideo;
|
|
unsigned char isAudio;
|
|
unsigned char isSubtitle;
|
|
unsigned char isDvbSubtitle;
|
|
unsigned char isTeletext;
|
|
unsigned char mayWriteToFramebuffer;
|
|
unsigned char abortRequested;
|
|
|
|
int (*Command) ( /*Context_t */ void *, PlaybackCmd_t, void *);
|
|
char *uri;
|
|
unsigned char noprobe; /* hack: only minimal probing in av_find_stream_info */
|
|
unsigned long long readCount;
|
|
} PlaybackHandler_t;
|
|
|
|
#endif
|