remove unused MovieTexture_DShow::Stop

This commit is contained in:
Glenn Maynard
2003-09-01 17:38:09 +00:00
parent 58c81413fc
commit 21cf140aa4
2 changed files with 1 additions and 16 deletions
@@ -399,27 +399,13 @@ void MovieTexture_DShow::Pause()
m_pGB.QueryInterface(&pMC);
HRESULT hr;
/* Use Pause(), so we'll get a still frame in CTextureRenderer::OnReceiveFirstSample. */
if( FAILED( hr = pMC->Pause() ) )
RageException::Throw( hr_ssprintf(hr, "Could not pause the DirectShow graph.") );
StopSkippingUpdates();
}
void MovieTexture_DShow::Stop()
{
SkipUpdates();
CComPtr<IMediaControl> pMC;
m_pGB.QueryInterface(&pMC);
HRESULT hr;
if( FAILED( hr = pMC->Stop() ) )
RageException::Throw( hr_ssprintf(hr, "Could not stop the DirectShow graph.") );
m_bPlaying = false;
StopSkippingUpdates();
}
void MovieTexture_DShow::SetPosition( float fSeconds )
{
@@ -55,7 +55,6 @@ public:
virtual void Play();
virtual void Pause();
virtual void Stop();
virtual void SetPosition( float fSeconds );
virtual void SetPlaybackRate( float fRate );
virtual bool IsPlaying() const { return m_bPlaying; }