virtual bool Load(const wxString& fileName);
virtual bool Load(const wxURI& location);
+ virtual bool Load(const wxURI& location,
+ const wxURI& WXUNUSED(proxy))
+ {
+ return Load(location);
+ }
virtual bool Play();
virtual bool Pause();
private:
wxQTMediaBackend *m_qtb;
- DECLARE_NO_COPY_CLASS(wxQTMediaEvtHandler)
+ wxDECLARE_NO_COPY_CLASS(wxQTMediaEvtHandler);
};
//===========================================================================
// Dispose of the movie controller
::DisposeMovieController(m_mc);
m_mc = NULL;
-
+
// Dispose of offscreen GWorld
::DisposeGWorld(m_movieWorld);
}
NULL); // wasChanged
// Do not use ::GetMoviesStickyError() here because it returns -2009
- // a.k.a. invalid track on valid mpegs
+ // a.k.a. invalid track on valid mpegs
if (err == noErr && ::GetMoviesError() == noErr)
{
::CloseMovieFile(movieResFile);
{
TimeRecord theTimeRecord;
memset(&theTimeRecord, 0, sizeof(TimeRecord));
- theTimeRecord.value.lo = where.GetValue();
+ theTimeRecord.value.lo = where.GetLo();
+ theTimeRecord.value.hi = where.GetHi();
theTimeRecord.scale = ::GetMovieTimeScale(m_movie);
theTimeRecord.base = ::GetMovieTimeBase(m_movie);
::SetMovieTime(m_movie, &theTimeRecord);