Mercurial > mplayer.hg
annotate libmpcodecs/vd_internal.h @ 24793:a77d2ba096f0
Disable libavcodec libvorbis encoder
MPlayer's configure does not test and set variables required by the
encoder properly (never links with -lvorbisenc for example). Disable
it completely to fix broken compilation in cases where it was enabled.
Support for the libvorbis encoder could be a desirable feature as it
can produce better quality audio than libavcodec's own encoder, but
implementing that properly would require more work.
author | uau |
---|---|
date | Sat, 20 Oct 2007 16:03:12 +0000 |
parents | ed8f90096c65 |
children | 6ac1ece1f9fe |
rev | line source |
---|---|
4986 | 1 |
2 #include "codec-cfg.h" | |
5607 | 3 #include "img_format.h" |
4986 | 4 |
22599
4faee1254928
Add explicit location for headers from the stream/ directory.
diego
parents:
5607
diff
changeset
|
5 #include "stream/stream.h" |
22601
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
6 #include "libmpdemux/demuxer.h" |
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
7 #include "libmpdemux/stheader.h" |
4986 | 8 |
9 #include "vd.h" | |
4878 | 10 |
5003 | 11 extern int divx_quality; |
12 | |
4878 | 13 // prototypes: |
4966 | 14 //static vd_info_t info; |
4878 | 15 static int control(sh_video_t *sh,int cmd,void* arg,...); |
16 static int init(sh_video_t *sh); | |
17 static void uninit(sh_video_t *sh); | |
18 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags); | |
19 | |
20 #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\ | |
21 &info,\ | |
22 init,\ | |
23 uninit,\ | |
24 control,\ | |
25 decode\ | |
26 }; | |
27 |