Removed a no longer used method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26140 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -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
|
// #pragma mark - Notifications
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -124,7 +124,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
uint32 _PlaybackState(int32 playingMode) const;
|
uint32 _PlaybackState(int32 playingMode) const;
|
||||||
void _EndOfStreamReached(bool isVideo = false);
|
|
||||||
|
|
||||||
void _NotifyFileChanged() const;
|
void _NotifyFileChanged() const;
|
||||||
void _NotifyFileFinished() const;
|
void _NotifyFileFinished() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user