Start xanim only when we are ready to play
Renamed StartPlay in Play Added wxVideoBaseDriver::GetSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,32 +67,39 @@ protected:
|
||||
public:
|
||||
friend class wxVideoOutput;
|
||||
|
||||
///
|
||||
//
|
||||
wxVideoBaseDriver();
|
||||
///
|
||||
//
|
||||
wxVideoBaseDriver(wxInputStream& str);
|
||||
///
|
||||
//
|
||||
virtual ~wxVideoBaseDriver();
|
||||
|
||||
///
|
||||
|
||||
//
|
||||
virtual bool Play() = 0;
|
||||
//
|
||||
virtual bool Stop() = 0;
|
||||
//
|
||||
virtual bool Pause() = 0;
|
||||
///
|
||||
//
|
||||
virtual bool Resume() = 0;
|
||||
|
||||
///
|
||||
//
|
||||
virtual bool SetVolume(wxUint8 vol) = 0;
|
||||
///
|
||||
//
|
||||
virtual bool Resize(wxUint16 w, wxUint16 h) = 0;
|
||||
//
|
||||
virtual bool GetSize(wxSize& size) const = 0;
|
||||
|
||||
///
|
||||
//
|
||||
virtual bool IsCapable(wxVideoType WXUNUSED(v_type)) { return FALSE; }
|
||||
|
||||
///
|
||||
//
|
||||
virtual void OnFinished() {}
|
||||
|
||||
///
|
||||
//
|
||||
virtual bool AttachOutput(wxVideoOutput& output);
|
||||
///
|
||||
//
|
||||
virtual void DetachOutput();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user