diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-15 18:01:02 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-15 18:01:02 +0000 |
commit | 33b62af94760186c523e90375daaab9968cf09e3 (patch) | |
tree | 10f97f0db5e1cf978f392457fd09e6731cd5dca6 /libmpcodecs/vf.h | |
parent | 83ee572cffff0b324b1664fc7de0402b01758500 (diff) | |
download | mpv-33b62af94760186c523e90375daaab9968cf09e3.tar.bz2 mpv-33b62af94760186c523e90375daaab9968cf09e3.tar.xz |
Add the new -vf option wich is the same as vop in reverse order.
Syntax is we decided, so you can give the nomes or not with both
vop and vf. vf take precedence over vop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf.h')
-rw-r--r-- | libmpcodecs/vf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpcodecs/vf.h b/libmpcodecs/vf.h index ffe8ef934a..1f21500ac7 100644 --- a/libmpcodecs/vf.h +++ b/libmpcodecs/vf.h @@ -8,6 +8,8 @@ typedef struct vf_info_s { const char *author; const char *comment; int (*open)(struct vf_instance_s* vf,char* args); + // Ptr to a struct dscribing the options + void* opts; } vf_info_t; typedef struct vf_image_context_s { @@ -67,8 +69,8 @@ typedef struct vf_seteq_s void vf_mpi_clear(mp_image_t* mpi,int x0,int y0,int w,int h); mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype, int mp_imgflag, int w, int h); -vf_instance_t* vf_open_plugin(vf_info_t** filter_list, vf_instance_t* next, char *name, char *args); -vf_instance_t* vf_open_filter(vf_instance_t* next, char *name, char *args); +vf_instance_t* vf_open_plugin(vf_info_t** filter_list, vf_instance_t* next, char *name, char **args); +vf_instance_t* vf_open_filter(vf_instance_t* next, char *name, char **args); vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args); unsigned int vf_match_csp(vf_instance_t** vfp,unsigned int* list,unsigned int preferred); |