libeplayer3: make ffmpeg data available to manager, output and writer

This commit is contained in:
martii
2014-04-05 10:16:30 +02:00
parent a4baa13ed1
commit 01144c864b
5 changed files with 39 additions and 3 deletions

View File

@@ -4,6 +4,12 @@
#include <stdio.h>
#include <stdint.h>
#include <libavutil/avutil.h>
#include <libavutil/time.h>
#include <libavformat/avformat.h>
#include <libswresample/swresample.h>
#include <libavutil/opt.h>
typedef enum {
OUTPUT_INIT,
OUTPUT_ADD,
@@ -44,6 +50,11 @@ typedef struct {
unsigned int height;
char *type;
/* context from ffmpeg */
AVFormatContext *avfc;
/* stream from ffmpeg */
AVStream *stream;
} AudioVideoOut_t;
struct Context_s;