[MPlayer-cvslog] r22911 - trunk/libmpdemux/demux_rtp.cpp

cehoyos subversion at mplayerhq.hu
Tue Apr 3 19:00:28 CEST 2007


Author: cehoyos
Date: Tue Apr  3 19:00:27 2007
New Revision: 22911

Modified:
   trunk/libmpdemux/demux_rtp.cpp

Log:
Use teardownMediaSession() instead of teardownMediaSubsession()

Modified: trunk/libmpdemux/demux_rtp.cpp
==============================================================================
--- trunk/libmpdemux/demux_rtp.cpp	(original)
+++ trunk/libmpdemux/demux_rtp.cpp	Tue Apr  3 19:00:27 2007
@@ -557,12 +557,7 @@ static void teardownRTSPorSIPSession(RTP
   MediaSession* mediaSession = rtpState->mediaSession;
   if (mediaSession == NULL) return;
   if (rtpState->rtspClient != NULL) {
-    MediaSubsessionIterator iter(*mediaSession);
-    MediaSubsession* subsession;
-
-    while ((subsession = iter.next()) != NULL) {
-      rtpState->rtspClient->teardownMediaSubsession(*subsession);
-    }
+    rtpState->rtspClient->teardownMediaSession(*mediaSession);
   } else if (rtpState->sipClient != NULL) {
     rtpState->sipClient->sendBYE();
   }



More information about the MPlayer-cvslog mailing list