summaryrefslogtreecommitdiffstats
path: root/TOOLS/vf_dlopen/rectangle.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-05-14 13:49:16 -0700
committerKevin Mitchell <kevmitch@gmail.com>2014-05-15 10:32:16 -0700
commit1eee4d779954974cd413be5e46f1ed877836ef31 (patch)
treee77d80486a61ce524fc90fd2dda7557bddd2c38d /TOOLS/vf_dlopen/rectangle.c
parent2b1b8d6c95952f03049a9f643058c114899680bc (diff)
downloadmpv-1eee4d779954974cd413be5e46f1ed877836ef31.tar.bz2
mpv-1eee4d779954974cd413be5e46f1ed877836ef31.tar.xz
TOOLS/vf_dlopen: use new pixelformats, fix usage for newstyle args
Diffstat (limited to 'TOOLS/vf_dlopen/rectangle.c')
-rw-r--r--TOOLS/vf_dlopen/rectangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/vf_dlopen/rectangle.c b/TOOLS/vf_dlopen/rectangle.c
index 1492ec221e..0aaa360598 100644
--- a/TOOLS/vf_dlopen/rectangle.c
+++ b/TOOLS/vf_dlopen/rectangle.c
@@ -35,7 +35,7 @@
/*
* rectangle
*
- * usage: -vf dlopen=./rectangle.so
+ * usage: --vf=dlopen=/path/to/rectangle.so
*
* provides an editable rectangle
* NOTE: unix only, and requires xterm to be installed. Don't ask.
@@ -345,7 +345,7 @@ int vf_dlopen_getcontext(struct vf_dlopen_context *ctx, int argc, const char **a
(void) argc;
(void) argv;
static struct vf_dlopen_formatpair map[] = {
- { "yv12", "yv12" },
+ { "yuv420p", "yuv420p" },
{ NULL, NULL }
};
privdata *priv = malloc(sizeof(privdata));