[MPlayer-users] theora alpha 3
Corey Hickey
bugfood-ml at fatooh.org
Mon Mar 22 19:57:38 CET 2004
I want to mess around with theora alpha 3, but ./configure has a problem
detecting support. Does mplayer need to be updated in order to work with
alpha 3? The relevant section of configure.log is pasted below; if I
ought to provide any more information, please tell me.
Thanks,
Corey
============ Checking for OggTheora support (only the CVS version!)
============
#include <theora/theora.h>
#include <string.h>
int main(void)
{
/* theora is in flux, make sure that all interface routines and
* datatypes exist and work the way we expect it, so we don't break
* mplayer */
ogg_packet op;
theora_comment tc;
theora_info inf;
theora_state st;
yuv_buffer yuv;
int r;
double t;
theora_info_init (&inf);
theora_comment_init (&tc);
return 0;
/* we don't want to execute this kind of nonsense; just for making sure
* that compilation works... */
memset(&op, 0, sizeof(op));
r = theora_decode_header (&inf, &tc, &op);
r = theora_decode_init (&st, &inf);
t = theora_granule_time (&st, op.granulepos);
r = theora_decode_packetin (&st, &op);
r = theora_decode_YUVout (&st, &yuv);
theora_clear (&st);
return 0;
}
cc /tmp/mplayer-conf-20410-12940.c -o
/tmp/mplayer-conf-31567-12940.o -ltheora -logg -lm
/tmp/mplayer-conf-20410-12940.c: In function `main':
/tmp/mplayer-conf-20410-12940.c:24: warning: passing arg 2 of
`theora_decode_header' from incompatibl
e pointer type
/tmp/mplayer-conf-20410-12940.c:24: error: too many arguments to
function `theora_decode_header'
ldd /tmp/mplayer-conf-31567-12940.o
ldd: /tmp/mplayer-conf-31567-12940.o: No such file or directory
Result is: no
##########################################
More information about the MPlayer-users
mailing list