Hi,

trying to compile softplay-0.0.2 against ffmpeg-cvs from yesterday. Result: 


Plugin softplay:
make[1]: Entering directory `/usr/src/vdr-1.4.1/PLUGINS/src/softplay-0.0.2'
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='"softplay"' -I../../../include -I../DVB/include 
-I/usr/local/include/ffmpeg SoftPlayer.c
/usr/local/include/ffmpeg/avformat.h:247: warning: ‘AVFrac’ is deprecated 
(declared at /usr/local/include/ffmpeg/avformat.h:100)
/usr/local/include/ffmpeg/avformat.h:379: warning: attribute ignored in 
declaration of ‘struct AVInputImageContext’
/usr/local/include/ffmpeg/avformat.h:379: warning: attribute for ‘struct 
AVInputImageContext’ must follow the ‘struct’ keyword
/usr/local/include/ffmpeg/avformat.h:403: warning: ‘AVImageInfo’ is deprecated 
(declared at /usr/local/include/ffmpeg/avformat.h:388)
/usr/local/include/ffmpeg/avformat.h:406: warning: ‘AVImageInfo’ is deprecated 
(declared at /usr/local/include/ffmpeg/avformat.h:388)
SoftPlayer.c: In member function ‘virtual void cSoftPlayer::Action()’:
SoftPlayer.c:173: error: request for member ‘codec_type’ in 
‘((cSoftPlayer*)this)->cSoftPlayer::ic->AVFormatContext::streams[pkt.AVPacket::stream_index]->AVStream::codec’,
 which is of non-class type ‘AVCodecContext*’
SoftPlayer.c:178: error: request for member ‘codec_type’ in 
‘((cSoftPlayer*)this)->cSoftPlayer::ic->AVFormatContext::streams[pkt.AVPacket::stream_index]->AVStream::codec’,
 which is of non-class type ‘AVCodecContext*’
SoftPlayer.c:222: error: request for member ‘codec_id’ in 
‘((cSoftPlayer*)this)->cSoftPlayer::ic->AVFormatContext::streams[i]->AVStream::codec’,
 which is of non-class type ‘AVCodecContext*’
SoftPlayer.c: In member function ‘ePlayMode 
cSoftPlayer::GetPlayMode(AVFormatContext*)’:
SoftPlayer.c:248: error: request for member ‘codec_type’ in 
‘IC->AVFormatContext::streams[i]->AVStream::codec’, which is of non-class type 
‘AVCodecContext*’
SoftPlayer.c:250: error: request for member ‘codec_type’ in 
‘IC->AVFormatContext::streams[i]->AVStream::codec’, which is of non-class type 
‘AVCodecContext*’
make[1]: *** [SoftPlayer.o] Fehler 1
make[1]: Leaving directory `/usr/src/vdr-1.4.1/PLUGINS/src/softplay-0.0.2'


softplay-cvs from today does compile as soon as the Makefile is patched to
honor APIVERSION...  Dunno yet if it actually works. 

Hope this helps. 

-- 
The price of seeking to force our beliefs on others is that someday
they might force their beliefs on us.
                -- Mario Cuomo
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to