summaryrefslogtreecommitdiffstats
path: root/video/decode/vd.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vd.h')
-rw-r--r--video/decode/vd.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/video/decode/vd.h b/video/decode/vd.h
index b3b980fea4..c4c2b7f465 100644
--- a/video/decode/vd.h
+++ b/video/decode/vd.h
@@ -20,18 +20,17 @@
#define MPLAYER_VD_H
#include "video/mp_image.h"
-#include "core/mpc_info.h"
#include "demux/stheader.h"
-typedef struct mp_codec_info vd_info_t;
-
struct demux_packet;
+struct mp_decoder_list;
/* interface of video decoder drivers */
typedef struct vd_functions
{
- const vd_info_t *info;
- int (*init)(sh_video_t *sh);
+ const char *name;
+ void (*add_decoders)(struct mp_decoder_list *list);
+ int (*init)(sh_video_t *sh, const char *decoder);
void (*uninit)(sh_video_t *sh);
int (*control)(sh_video_t *sh, int cmd, void *arg);
struct mp_image *(*decode)(struct sh_video *sh, struct demux_packet *pkt,