[xineliboutput-devel] trivial patch and little bug
Brought to you by:
phintuka
From: zaverel <za...@fr...> - 2012-01-02 17:46:30
|
Hello, first a little patch to add .ass support (now officially in xine-lib) ass_sub.diff else with latest xine-lib-1.2 there is a probleme in xine_post_audiochannel.c solved by audio_version_code.diff -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE < 10300 cc -O3 -pipe -Wall -fPIC -g -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.90-cvs"' -Wall -I../../../include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o xine_post_audiochannel.o xine_post_audiochannel.c xine_post_audiochannel.c: In function ‘audioch_port_open’: xine_post_audiochannel.c:97:7: erreur: ‘post_audio_port_t’ has no member named ‘format’ xine_post_audiochannel.c:99:7: erreur: ‘audioch_post_plugin_t’ has no member named ‘num_channels’ xine_post_audiochannel.c:101:3: erreur: incompatible type for argument 3 of ‘port->original_port->open’ xine_post_audiochannel.c:101:3: note: expected ‘uint32_t’ but argument is of type ‘ao_format_t’ xine_post_audiochannel.c:101:3: erreur: too few arguments to function ‘port->original_port->open’ xine_post_audiochannel.c: In function ‘audioch_port_put_buffer’: xine_post_audiochannel.c:118:16: erreur: ‘sample_bytes_table’ undeclared (first use in this function) xine_post_audiochannel.c:118:16: note: each undeclared identifier is reported only once for each function it appears in xine_post_audiochannel.c:118:46: erreur: ‘ao_format_t’ has no member named ‘sample_format’ xine_post_audiochannel.c: In function ‘audioch_open_plugin’: xine_post_audiochannel.c:246:24: attention : assignment from incompatible pointer type xine_post_audiochannel.c: In function ‘audioch_port_open’: xine_post_audiochannel.c:105:1: attention : contrôle a atteint la fin non void de la fonction make: *** [xine_post_audiochannel.o] Erreur 1 |