summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-23 19:06:42 +0200
committerwm4 <wm4@nowhere>2013-10-23 19:30:01 +0200
commit6d44a4dfd1487611dd8ff3da4a6566e64c17106a (patch)
tree1ae7c30d50cb64668dacb78f8354185440978a9c /video/filter/vf.c
parentc8930e80a850a9459157023db57ae723f7a82432 (diff)
downloadmpv-6d44a4dfd1487611dd8ff3da4a6566e64c17106a.tar.bz2
mpv-6d44a4dfd1487611dd8ff3da4a6566e64c17106a.tar.xz
video/filter: remove useless vf_info fields
This time I didn't bother to move the contents of the author field to the file headers. "git log" is your friend.
Diffstat (limited to 'video/filter/vf.c')
-rw-r--r--video/filter/vf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 1e27c043b5..c2e15090b8 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -126,7 +126,7 @@ static bool get_desc(struct m_obj_desc *dst, int index)
const vf_info_t *vf = filter_list[index];
*dst = (struct m_obj_desc) {
.name = vf->name,
- .description = vf->info,
+ .description = vf->description,
.priv_size = vf->priv_size,
.priv_defaults = vf->priv_defaults,
.options = vf->options,
@@ -254,7 +254,7 @@ static struct vf_instance *vf_open(struct MPOpts *opts, vf_instance_t *next,
if (m_config_initialize_obj(config, &desc, &priv, &args) < 0)
goto error;
vf->priv = priv;
- int retcode = vf->info->vf_open(vf, (char *)args);
+ int retcode = vf->info->open(vf, (char *)args);
if (retcode < 1)
goto error;
return vf;