Commit 112853d9 authored by Jean-Paul Saman's avatar Jean-Paul Saman

activex: remove libvlc_video_set_size() and libvlc_video_set_parent

Activex plugin now builds again for windows. Commits: f1582740 and 03b85ce3 broke building of the plugin on windows.
parent 190ae57d
......@@ -725,16 +725,6 @@ HRESULT VLCPlugin::onActivateInPlace(LPMSG lpMesg, HWND hwndParent, LPCRECT lprc
if( FAILED(result) )
return result;
/* set internal video width and height */
libvlc_video_set_size(p_libvlc,
lprcPosRect->right-lprcPosRect->left,
lprcPosRect->bottom-lprcPosRect->top,
NULL );
/* set internal video parent window */
libvlc_video_set_parent(p_libvlc,
reinterpret_cast<libvlc_drawable_t>(_inplacewnd), NULL);
if( _b_autoplay && playlist_select(0,NULL) )
{
libvlc_media_player_play(_p_mplayer,NULL);
......@@ -995,13 +985,6 @@ void VLCPlugin::onPositionChange(LPCRECT lprcPosRect, LPCRECT lprcClipRect)
SetWindowRgn(_inplacewnd, clipRgn, FALSE);
//RedrawWindow(_videownd, &posRect, NULL, RDW_INVALIDATE|RDW_ERASE|RDW_ALLCHILDREN);
if( isRunning() )
{
libvlc_video_set_size(_p_libvlc,
lprcPosRect->right-lprcPosRect->left,
lprcPosRect->bottom-lprcPosRect->top,
NULL );
}
};
void VLCPlugin::freezeEvents(BOOL freeze)
......@@ -1103,5 +1086,3 @@ int VLCPlugin::playlist_add_extended_untrusted(const char *mrl, int optc, const
return item;
}
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