Mercurial > mplayer.hg
diff libmpcodecs/vd.c @ 35155:303bf4bab982
libmpcodecs: Add vd_black
New video "decoder" dedicated to just outputting black frames.
Can be used to e.g. test filters and video outputs.
Initially implemented inside vd null by Xidorn Quan >quanxunzhen gmail.com<
separated into vd black plus some minor (mostly style) changes by me.
author | al |
---|---|
date | Mon, 15 Oct 2012 19:43:15 +0000 |
parents | dba2e7218893 |
children | fbbf13706c50 |
line wrap: on
line diff
--- a/libmpcodecs/vd.c Sun Oct 14 20:06:09 2012 +0000 +++ b/libmpcodecs/vd.c Mon Oct 15 19:43:15 2012 +0000 @@ -37,6 +37,7 @@ #include "vf.h" extern const vd_functions_t mpcodecs_vd_null; +extern const vd_functions_t mpcodecs_vd_black; extern const vd_functions_t mpcodecs_vd_ffmpeg; extern const vd_functions_t mpcodecs_vd_theora; extern const vd_functions_t mpcodecs_vd_dshow; @@ -65,6 +66,7 @@ const vd_functions_t * const mpcodecs_vd_drivers[] = { &mpcodecs_vd_null, + &mpcodecs_vd_black, #ifdef CONFIG_FFMPEG &mpcodecs_vd_ffmpeg, #endif