diff options
author | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-18 15:52:38 +0000 |
---|---|---|
committer | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-18 15:52:38 +0000 |
commit | dbb001bae23b18295014c9fc925538902f956c35 (patch) | |
tree | a7198cff9124bed9cbf3665c6f325c641330e092 /libmpcodecs/vd_zrmjpeg.c | |
parent | da39de73a8f773d2516eadd20ea2172efc3df2a3 (diff) | |
download | mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.bz2 mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.xz |
replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_zrmjpeg.c')
-rw-r--r-- | libmpcodecs/vd_zrmjpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vd_zrmjpeg.c b/libmpcodecs/vd_zrmjpeg.c index 39a97e1e4b..660b306b25 100644 --- a/libmpcodecs/vd_zrmjpeg.c +++ b/libmpcodecs/vd_zrmjpeg.c @@ -9,6 +9,7 @@ #include "config.h" #include "mp_msg.h" +#include "vfcap.h" /* some convenient #define's, is this portable enough? */ #define VERBOSE(...) mp_msg(MSGT_DECVIDEO, MSGL_V, "vd_zrmjpeg: " __VA_ARGS__) @@ -38,7 +39,7 @@ typedef struct { static int query_format(sh_video_t *sh, unsigned int format) { vd_zrmjpeg_ctx_t *ctx = sh->context; - if (format == ctx->preferred_csp) return CONTROL_TRUE; + if (format == ctx->preferred_csp) return VFCAP_CSP_SUPPORTED; return CONTROL_FALSE; } |