Revision 81124ba0 libavfilter/allfilters.c

View differences:

libavfilter/allfilters.c
21 21

  
22 22
#include "avfilter.h"
23 23

  
24
#define REGISTER_VF(X,x) { \
25
          extern AVFilter avfilter_vf_##x ; \
26
          if(ENABLE_VF_##X )  avfilter_register(&avfilter_vf_##x ); }
27 24

  
28

  
29
#define REGISTER_VSRC(X,x) { \
30
          extern AVFilter avfilter_vsrc_##x ; \
31
          if(ENABLE_VSRC_##X )  avfilter_register(&avfilter_vsrc_##x ); }
25
#define REGISTER_FILTER(X,x,y) { \
26
          extern AVFilter avfilter_##y##_##x ; \
27
          if(ENABLE_##X##_FILTER )  avfilter_register(&avfilter_##y##_##x ); }
32 28

  
33 29
void avfilter_register_all(void)
34 30
{
......
38 34
        return;
39 35
    initialized = 1;
40 36

  
41
//    REGISTER_VF(CROP,crop);
37
//    REGISTER_FILTER (CROP,crop,vf);
42 38

  
43 39
}

Also available in: Unified diff