[MPlayer-dev-eng] [PATCH]demux_rtp.cpp for latest LIVE.COM libraries

Frank van der Loo frank_l at linuxmail.org
Sat Jul 17 19:31:39 CEST 2004


Hello,

I discovered that MPlayer doesn't work with the latest LIVE.COM streaming libraries.
Make exits with this error:

/home/frank/live/UsageEnvironment/include/UsageEnvironment.hh: In function
   `void demux_close_rtp(demuxer_t*)':
/home/frank/live/UsageEnvironment/include/UsageEnvironment.hh:79: `virtual
   UsageEnvironment::~UsageEnvironment()' is protected
demux_rtp.cpp:410: within this context
make[1]: *** [demux_rtp.o] Error 1
make[1]: Weggaan uit map `/home/frank/apps/main/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

This happens because the destructor ~UsageEnvironment() from LIVE.COM is now protected. Now the public method "reclaim()" has to be used. So, instead of "delete env", now "env->reclaim()" has to be used in demux_rtp.cpp.


I'm only afraid that this patch won't work with older versions of LIVE.COM, but on the mplayerdev-IRC channel I was told to just send the patch to this list.



Frank van der Loo
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_demux_rtp.diff.base64
Type: application/octet-stream
Size: 533 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040718/98a0bc82/attachment.obj>


More information about the MPlayer-dev-eng mailing list