From df127474fbe96f6d02dcad79125ba55652bca4da Mon Sep 17 00:00:00 2001 From: Jonathan Hao Date: Tue, 4 Nov 2014 17:39:29 +0800 Subject: [PATCH] Bug 1093521 - [RTSP] An extra PLAY request is send after end-of-stream. r=ettseng --- netwerk/protocol/rtsp/controller/RtspControllerChild.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netwerk/protocol/rtsp/controller/RtspControllerChild.cpp b/netwerk/protocol/rtsp/controller/RtspControllerChild.cpp index 163619fa9330..38660e9c9724 100644 --- a/netwerk/protocol/rtsp/controller/RtspControllerChild.cpp +++ b/netwerk/protocol/rtsp/controller/RtspControllerChild.cpp @@ -462,6 +462,8 @@ RtspControllerChild::PlaybackEnded() { LOG(("RtspControllerChild::PlaybackEnded")); + StopPlayAndPauseTimer(); + if (NS_IsMainThread()) { if (!OKToSendIPC() || !SendPlaybackEnded()) { return NS_ERROR_FAILURE;