mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: c++ adjustments
This commit is contained in:
@@ -4,11 +4,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" {
|
||||
#include <libavutil/avutil.h>
|
||||
#include <libavutil/time.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libswresample/swresample.h>
|
||||
#include <libavutil/opt.h>
|
||||
}
|
||||
|
||||
typedef enum { eNone, eAudio, eVideo, eGfx } eWriterType_t;
|
||||
|
||||
@@ -32,9 +34,9 @@ typedef struct {
|
||||
} WriterAVCallData_t;
|
||||
|
||||
typedef struct WriterCaps_s {
|
||||
char *name;
|
||||
const char *name;
|
||||
eWriterType_t type;
|
||||
char *textEncoding;
|
||||
const char *textEncoding;
|
||||
/* fixme: revise if this is an enum! */
|
||||
int dvbEncoding;
|
||||
} WriterCaps_t;
|
||||
|
Reference in New Issue
Block a user