aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r--libmpcodecs/vf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index 67dc49fe62..a71b246381 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -142,7 +142,7 @@ mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype,
//============================================================================
-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;
int i;
for(i=0;;i++){
@@ -166,6 +166,10 @@ vf_instance_t* vf_open_filter(vf_instance_t* next, char *name, char *args){
return NULL;
}
+vf_instance_t* vf_open_filter(vf_instance_t* next, char *name, char *args){
+ return vf_open_plugin(filter_list,next,name,args);
+}
+
//============================================================================
int vf_next_config(struct vf_instance_s* vf,