Hi,
ich habe Probleme, das xineliboutput Plugin aus dem CVS zu übersetzen! Dabei verwendet ich die aktuelle ffmpeg-cvs und xine-lib-1.2.
xineliboutput scheint auch schon aktualisiert zu sein, aber vielleicht doch noch nicht komplett!?
Hat jemand eine Idee?
Gruß Uwe
Code
...
cc -O3 -pipe -Wall -fPIC -g -march=x86-64 -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -fPIC -g -ggdb -O0 -I/usr/local/include -c -DUSE_CHANNELSCAN -DUSE_CMDCTRL -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVBPLAYER -DUSE_DVBSETUP -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_IPTV -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_LIVEBUFFER -DUSE_LIRCSETTINGS -DUSE_LNBSHARE -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_OSDMAXITEMS -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_ROTOR -DUSE_SETTIME -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_SUBTITLES -DUSE_SWITCHTIMER -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_VALIDINPUT -DUSE_VOLCTRL -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.0rc2"' -DUSE_ICONV=1 -Wall -DFE_STANDALONE -I/usr/local/src/DVB/linux/include -I/usr/local/src/VDR/include tools/vdrdiscovery.c -o tools/vdrdiscovery_standalone.o
cc -g xine_sxfe_frontend_standalone.o xine/post.o tools/vdrdiscovery_standalone.o -L/usr/X11R6/lib -lX11 -lXv -lXext -ljpeg -L/usr/local/lib -lxine -o vdr-sxfe
xine_sxfe_frontend_standalone.o: In function `fe_xine_init':
/usr/local/src/VDR/PLUGINS/src/xineliboutput/xine_frontend.c:616: undefined reference to `xine_new_framegrab_audio_port'
xine_sxfe_frontend_standalone.o: In function `init_dummy_ports':
/usr/local/src/VDR/PLUGINS/src/xineliboutput/xine_frontend.c:790: undefined reference to `xine_new_framegrab_audio_port'
collect2: ld returned 1 exit status
make: *** [vdr-sxfe] Error 1
Hier mal der Code an der einen Stelle von xine_frontend.c:
Code
...
if(audio_driver && audio_port)
configure_audio_out(this, audio_driver, audio_port);
if(audio_driver && !strcmp(audio_driver, "auto")) {
this->audio_port = xine_open_audio_driver (this->xine, NULL, NULL);
} else if(audio_driver && !strcmp(audio_driver, "none")) {
#if XINE_VERSION_CODE < 10190
this->audio_port = _x_ao_new_port (this->xine, NULL, 1);
#else
this->audio_port = xine_new_framegrab_audio_port(this->xine);
#endif
this->audio_port->set_property(this->audio_port, AO_PROP_DISCARD_BUFFERS, 1);
} else {
this->audio_port = xine_open_audio_driver (this->xine, audio_driver, NULL);
}
...
Alles anzeigen