From 48eff7844ea99ce668134d5b0eaa4dcd3735a71b Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 27 Oct 2004 03:29:01 +0000 Subject: [PATCH] Alejandro Mery: * rtsp updated (2004.06.18 -> 2004.10.11) and mplayer fixed to support it [2004101519005611327] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4602 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/avm/rtsp/rtsp.desc | 4 ++-- package/jimmy/mplayer/hotfix_rtsp.patch | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 package/jimmy/mplayer/hotfix_rtsp.patch diff --git a/package/avm/rtsp/rtsp.desc b/package/avm/rtsp/rtsp.desc index c4001da6a..9afdc0ac4 100644 --- a/package/avm/rtsp/rtsp.desc +++ b/package/avm/rtsp/rtsp.desc @@ -38,8 +38,8 @@ [L] LGPL [S] Stable -[V] 2004.06.18 +[V] 2004.10.11 [P] X -?---5---9 174.800 -[D] 3459517771 live.2004.06.18.tar.gz http://www.live.com/liveMedia/public/ +[D] 354659616 live.2004.10.11.tar.gz http://www.live.com/liveMedia/public/ diff --git a/package/jimmy/mplayer/hotfix_rtsp.patch b/package/jimmy/mplayer/hotfix_rtsp.patch new file mode 100644 index 000000000..4381adff7 --- /dev/null +++ b/package/jimmy/mplayer/hotfix_rtsp.patch @@ -0,0 +1,17 @@ +Frank van der Loo (18 Jul 2004) + MPlayer doesn't work with the latest LIVE.COM streaming 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. + +--- ./libmpdemux/demux_rtp.cpp.orig 2004-10-13 10:09:53.000000000 -0300 ++++ ./libmpdemux/demux_rtp.cpp 2004-10-13 10:10:27.000000000 -0300 +@@ -407,7 +407,7 @@ + delete rtpState->sdpDescription; + delete rtpState; + +- delete env; delete scheduler; ++ env->reclaim(); delete scheduler; + } + + ////////// Extra routines that help implement the above interface functions: