Commit 5e45f57e authored by Damien Fouilleul's avatar Damien Fouilleul

- Optimized clipping, removed the extra child window which prevented some...

- Optimized clipping, removed the extra child window which prevented some buggy Intel DirectX drivers to render (can't handle too many sub-windows ?). Resizing looks smoother on IE, needs a lot of compatiblity checks on other apps such as VB, Delphi, etc...
- Fixed initial volume setting
parent c03f5fee
This diff is collapsed.
...@@ -52,7 +52,6 @@ public: ...@@ -52,7 +52,6 @@ public:
REFCLSID getClassID(void) { return (REFCLSID)_classid; }; REFCLSID getClassID(void) { return (REFCLSID)_classid; };
LPCSTR getInPlaceWndClassName(void) const { return TEXT("VLC Plugin In-Place"); }; LPCSTR getInPlaceWndClassName(void) const { return TEXT("VLC Plugin In-Place"); };
LPCSTR getVideoWndClassName(void) const { return TEXT("VLC Plugin Video"); };
HINSTANCE getHInstance(void) const { return _hinstance; }; HINSTANCE getHInstance(void) const { return _hinstance; };
LPPICTURE getInPlacePict(void) const LPPICTURE getInPlacePict(void) const
{ if( NULL != _inplace_picture) _inplace_picture->AddRef(); return _inplace_picture; }; { if( NULL != _inplace_picture) _inplace_picture->AddRef(); return _inplace_picture; };
...@@ -67,7 +66,6 @@ private: ...@@ -67,7 +66,6 @@ private:
HINSTANCE _hinstance; HINSTANCE _hinstance;
CLSID _classid; CLSID _classid;
ATOM _inplace_wndclass_atom; ATOM _inplace_wndclass_atom;
ATOM _video_wndclass_atom;
LPPICTURE _inplace_picture; LPPICTURE _inplace_picture;
}; };
...@@ -241,10 +239,8 @@ private: ...@@ -241,10 +239,8 @@ private:
class VLCViewObject *vlcViewObject; class VLCViewObject *vlcViewObject;
class VLCDataObject *vlcDataObject; class VLCDataObject *vlcDataObject;
// in place activated window (Clipping window) // in place activated window (Plugin window)
HWND _inplacewnd; HWND _inplacewnd;
// video window (Drawing window)
HWND _videownd;
VLCPluginClass* _p_class; VLCPluginClass* _p_class;
ULONG _i_ref; ULONG _i_ref;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment