From 585d5a26d395df802b7b451bd2376e4c5f2f4182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 26 Jun 2008 22:37:07 +0000 Subject: [PATCH] Removed a no longer used method. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26140 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/Controller.cpp | 17 ----------------- src/apps/mediaplayer/Controller.h | 1 - 2 files changed, 18 deletions(-) diff --git a/src/apps/mediaplayer/Controller.cpp b/src/apps/mediaplayer/Controller.cpp index 2a67e148fe..511dd25c4e 100644 --- a/src/apps/mediaplayer/Controller.cpp +++ b/src/apps/mediaplayer/Controller.cpp @@ -708,23 +708,6 @@ Controller::_PlaybackState(int32 playingMode) const } -void -Controller::_EndOfStreamReached(bool isVideo) -{ - // you need to hold the fDataLock - - // prefer end of audio stream over end of video stream - if (isVideo && fAudioTrackSupplier) - return; - - // NOTE: executed in audio/video decode thread - if (!fStopped) { - fPauseAtEndOfStream = true; - _NotifyFileFinished(); - } -} - - // #pragma mark - Notifications diff --git a/src/apps/mediaplayer/Controller.h b/src/apps/mediaplayer/Controller.h index 13a021c68f..d2dc289798 100644 --- a/src/apps/mediaplayer/Controller.h +++ b/src/apps/mediaplayer/Controller.h @@ -124,7 +124,6 @@ public: private: uint32 _PlaybackState(int32 playingMode) const; - void _EndOfStreamReached(bool isVideo = false); void _NotifyFileChanged() const; void _NotifyFileFinished() const;