summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_dlopen.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-05-14 12:50:27 -0700
committerKevin Mitchell <kevmitch@gmail.com>2014-05-15 10:32:16 -0700
commit125dcf306a2998248c0480000b36db7388ddf490 (patch)
treea9cc3dcc2e47a9a860ff5e0fd061206573872325 /video/filter/vf_dlopen.h
parent0128579542cf55023aa01d7d6aba8079203960ef (diff)
downloadmpv-125dcf306a2998248c0480000b36db7388ddf490.tar.bz2
mpv-125dcf306a2998248c0480000b36db7388ddf490.tar.xz
vf_dlopen: remove buggy private name -> imgfmt conversion
This was presumably for backward compatibility, but it was preventing the use of the new names.
Diffstat (limited to 'video/filter/vf_dlopen.h')
-rw-r--r--video/filter/vf_dlopen.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/video/filter/vf_dlopen.h b/video/filter/vf_dlopen.h
index 962605ca28..e225cd3457 100644
--- a/video/filter/vf_dlopen.h
+++ b/video/filter/vf_dlopen.h
@@ -23,11 +23,12 @@
} while (0)
#endif
-// valid pixel format names:
-// "yv12": planar YUV, U and V planes have an xshift and yshift of 1
+// some common valid pixel format names:
+// "gray": 8 bit grayscale
+// "yuv420p": planar YUV, U and V planes have an xshift and yshift of 1
// "rgb24": packed RGB24
struct vf_dlopen_formatpair {
- const char *from; // (LATER) can also be a name of a format class
+ const char *from;
const char *to; // if NULL, this means identical format as source
};