mf demuxer only works with mf:// urls, so check for that.
[mplayer/glamo.git] / libmpcodecs / ve.c
blob8d258d5fa5100ccb70205af619ea1f416ea022f1
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
5 #include "config.h"
6 #include "mp_msg.h"
8 #include "img_format.h"
9 #include "mp_image.h"
10 #include "vf.h"
12 extern vf_info_t ve_info_lavc;
13 extern vf_info_t ve_info_vfw;
14 extern vf_info_t ve_info_raw;
15 extern vf_info_t ve_info_libdv;
16 extern vf_info_t ve_info_xvid;
17 extern vf_info_t ve_info_qtvideo;
18 extern vf_info_t ve_info_nuv;
19 extern vf_info_t ve_info_x264;
21 static vf_info_t* encoder_list[]={
22 #ifdef USE_LIBAVCODEC
23 &ve_info_lavc,
24 #endif
25 #ifdef USE_WIN32DLL
26 &ve_info_vfw,
27 #ifdef USE_QTX_CODECS
28 &ve_info_qtvideo,
29 #endif
30 #endif
31 #ifdef HAVE_LIBDV095
32 &ve_info_libdv,
33 #endif
34 &ve_info_raw,
35 #ifdef HAVE_XVID4
36 &ve_info_xvid,
37 #endif
38 &ve_info_nuv,
39 #ifdef HAVE_X264
40 &ve_info_x264,
41 #endif
42 NULL
45 vf_instance_t* vf_open_encoder(vf_instance_t* next, const char *name, char *args){
46 char* vf_args[] = { "_oldargs_", args, NULL };
47 return vf_open_plugin(encoder_list,next,name,vf_args);